Displaying 20 results from an estimated 7353 matches for "strip".
2004 Mar 04
1
lattice/grid: problem with viewports for strips with zero height
PROBLEM
# Allocating strip labels by the function strip.fun():
strip.test()
# Result: No strips: ok. No strings: NOT OK.
# The distance ``y.text=unit(6,"points")'' is ignored;
# the strings are not seen on the output.
TRIALS FOR WORKAROUNDS
strip.test( strip.lines=1 )...
2009 Apr 28
1
latticeExtra: useOuterStrips and axis.line$lwd
Hi,
I'm working on some lattice wireframe figures that have two conditioning
factors, and I want the strips labelled on the top and left of the
entire plot, rather than above each individual panel. useOuterStrips()
does this, but it draws internal axis lines, even after I explicitly set
axis.line to 0. Is there a way to use useOuterStrips but without axis
boxes?
I've included a short example. I kno...
2005 Oct 18
2
Lattice graphics strip labels for shingles
Dear all,
back in 2002 Martin Henry H. Stevens wrote
(https://stat.ethz.ch/pipermail/r-help/2002-May/019851.html)
> How do I control the text in strips? Specifically, I want to put in the
> ranges generated in shingle(x) where x is continuous.
with an answer from Deepyan Sarkar (see strip.new towards the end of this
message). I assume that the answer worked back then, but I've tried to
implement it today, with little success. I think t...
2008 Jun 18
1
Custom strips in lattice
I've recently been playing with strip functions for a data presentation I'd
like to use, and have a couple questions. I've cannibalised the
useOuterStrips function from latticeExtra to give me the following sample
code:
library(lattice)
myData <- expand.grid(
type = c('First 3 days','Whole profile'),
s...
2016 Feb 16
3
slightly off-topic, RAID program for on-board SAS 2308-4i ?
Does anyone know what program can be used to query the RAID status
from the OS for an on-board LSI SAS 2308-4i?
On this page:
http://docs.avagotech.com/docs/12351997
there is a curious note on the left that reads:
"Integrated MegaRAID support available upon request"
After one mostly fruitless round of chatting with LSI/Avago/Broadcom
and one completely fruitless round of chatting
2007 Jun 19
3
Controlling text and strip arrangement in xyplot
...e
out the 2 lattice questions below?
Consider:
library(lattice)
DF <- data.frame(x=rnorm(20), y=rnorm(20), g1=rep(letters[1:2], 10),
g2=rep(LETTERS[1:2], each=10),
g3=rep(rep(letters[3:4],each=5),2))
xyplot(y ~ x | g1 + g2, groups=g3, data=DF)
1) Is there a way to get one strip per row and column of panels as
below instead of the default?
_|__a__|__b__|
|
B
|
--
|
A
|
2) How do I control the text of the strips so that for instance
instead of "a" and "b" it reads"g1=alpha",...
2006 Aug 02
4
ggplot facet label font size
...etics=list(x=tip/total_bill))
gghistogram(p)
In this plot, the facet labels are "smoker: No", "smoker: Yes", "sex:
Female", "sex: Male". What command can I use to reduce the font size of
these labels?
In lattice terminology, cex is used to scale these strip labels. But I
couldn't find the equivalent in ggplot.
The reason I'm asking is I have a 9x7 array of plots which I've been
plotting with lattice. I wanted to use ggplot because I like having the
labels on the edge of the plots, but the label font size is too large
and exceeding the s...
2015 Jan 30
5
Very slow disk I/O
On 1/30/2015 1:53 AM, Gordon Messmer wrote:
> On 01/29/2015 05:07 AM, Jatin Davey wrote:
>> Yes , it is a SATA disk. I am not sure of the speed. Can you tell me
>> how to find out this information ? Additionally we are using RAID 10
>> configuration with 4 disks.
>
> What RAID controller are you using?
>
> # lspci | grep RAID
[Jatin]
[root at localhost ~]# lspci |
2015 Jan 30
0
Very slow disk I/O
...:
printarray = False
printcontroller = False
else:
print 'Usage: lsi-raidinfo [-d]'
sys.exit(1)
# Get command output
def getOutput(cmd):
output = os.popen(cmd)
lines = []
for line in output:
if not re.match(r'^$',line.strip()):
lines.append(line.strip())
return lines
def returnControllerNumber(output):
for line in output:
if re.match(r'^Controller Count.*$',line.strip()):
return int(line.split(':')[1].strip().strip('.'))
def returnControllerModel(o...
2016 Feb 16
0
slightly off-topic, RAID program for on-board SAS 2308-4i ?
...:
printarray = False
printcontroller = False
else:
print 'Usage: lsi-raidinfo [-d]'
sys.exit(1)
# Get command output
def getOutput(cmd):
output = os.popen(cmd)
lines = []
for line in output:
if not re.match(r'^$',line.strip()):
lines.append(line.strip())
return lines
def returnControllerNumber(output):
for line in output:
if re.match(r'^Controller Count.*$',line.strip()):
return int(line.split(':')[1].strip().strip('.'))
def returnControllerModel(o...
2014 Feb 27
3
[LLVMdev] install and the strip command
On 27 February 2014 00:05, Simon Atanasyan <simon at atanasyan.com> wrote:
>
> Install tool invokes strip. GNU install allows to configure which
> strip to use (--strip-program). In general (for example on FreeBSD) it
> is not possible and install always runs just 'strip'. In case of
> cross-compilation that leads to the error.
Actually it is possible on FreeBSD -- from install(1):
E...
2001 Nov 23
1
Changing strip widths in lattice plots
Hello R users,
I'm using xyplot (lattice) to plot some data. Unfortunately, the text that goes
into each strip is often too big to fit. For instance, one of the factors may
be labelled "Satisfaction with waiting time" which is too wide to fit. If I use
split.string() to wrap it onto two lines it is then too high to fit in the
strip. I'd prefer to apply split.string on the fly than manually...
2015 Feb 02
1
Very slow disk I/O
...ntcontroller = False
> else:
> print 'Usage: lsi-raidinfo [-d]'
> sys.exit(1)
>
> # Get command output
> def getOutput(cmd):
> output = os.popen(cmd)
> lines = []
> for line in output:
> if not re.match(r'^$',line.strip()):
> lines.append(line.strip())
> return lines
>
> def returnControllerNumber(output):
> for line in output:
> if re.match(r'^Controller Count.*$',line.strip()):
> return int(line.split(':')[1].strip().strip('.'))...
2015 Apr 11
2
[LLVMdev] __eh_frame info changes in Clang?
Nick,
Do you happen to know why the version reported in 'dwarfdump
--eh-frame' for object files now differs when compiled with and
without -g? The test used in FSF gcc's configure produces a diff of..
% diff -u conftest.o.g.stripped.dwarfdump conftest.o.g0.stripped.dwarfdump
--- conftest.o.g.stripped.dwarfdump 2015-04-10 21:43:15.000000000 -0400
+++ conftest.o.g0.stripped.dwarfdump 2015-04-10 21:43:04.000000000 -0400
@@ -1,5 +1,5 @@
----------------------------------------------------------------------
- File: conftest.o.g...
2012 Nov 18
2
[lattice] format and rotation of strip text
...here lev=pressure: use
# * lattice::levelplot
# * one column, since atmospheric levels stack vertically
# * rev(lev), since layers closer to ground level have higher pressure
levelplot(
conc ~ lon * lat | rev(lev), data=array.3d.df,
layout=c(1,lev), # show levels stacked in 1 vertical column
strip=FALSE, # this suppresses printing strips atop packets
strip.left=strip.custom(
strip.levels=TRUE, # print level values
strip.names=FALSE # don't print name of level variable="rev(lev)"
)
)
# end example
Note that the (colored) 'strip' for each panel in the...
2011 Jun 26
2
Only one strip with italic font.
Hi R users:
How can I obtain an italic font only
for one of the two strips in a xyplot?
library(lattice)
t<-rep(seq(0,10,5),4)
logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4,2,2.5)
microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=6))
tratam<-factor(rep(c("t1","t2"),6))
xyplot(logCFU~t|microorg+tratam,type="p&quo...
2009 Aug 20
1
lattice xyplot strip colors and location
Hi all,
I've been trying (unsuccessfully) to modify an xyplot I created using the lattice package. I would like to change default strip colors and locations.
I started with numeric data in 4 columns, which look like this:
0.25 2 1 32
0.25 2 2 30
0.25 2 3 27
0.25 2 4 23
0.25 2 5 17
0.25 3 1 30
0.25 3 2 29
0.25 3 3...
2013 Sep 19
3
lattice: double y - problem changing axis color after doubleYScale
Hi,
I have had some troubles using doubleYScale. No matter what I try, I cant manage to change the color of the y-axis in the end. I have to produce a black and white plot. There is also something I do not understand regarding fontfamilyj="serif" when using it in:
strip=strip.custom()
Maybe someone has a better idea for defining which line and dots belong to which y-axis when not using a colorcode than the one I had.
I have annotated my questions in the code below.
Thank you for your time!
Here is some dummy data:
Ndata <- data.frame(
Ncellpercent = rno...
2010 Mar 31
1
strip.custom with strip on left for three conditioning variables
I want to use a strip.custom as with useOuterStrips for three conditioning
variables.
useOuterStrips restricts this to only two conditioning variables, and I
cannot figure out
how to write strip.custom properly to do this.
library(lattice)
mtcars$HP <- equal.count(mtcars$hp)
#with two factors
x2<-xyplot(mpg ~ d...
2006 Oct 13
3
Adding per-panel text to panel strips in lattice xyplot
I would like to add auxiliary information to the bottom of two strips on
each panel that comes from a table look-up using the values of two
variables that define the panel. For example I might panel on sex and
race, showing 3 randomly chosen time series in each panel and want to
add (n=100) in the bottom strip to indicate the 3 curves were sampled
from 100. I...