Displaying 20 results from an estimated 4000 matches similar to: "problem with srt vector in xyplot {lattice}"
2013 Feb 27
1
lattice xyplot point labelling
This is my reproducible example
tv.ms<-structure(list(inq = structure(4:17, .Label = c("D4", "D5", "D6a",
"D6b", "D6c", "D7", "D8", "F4", "F5a", "F5b", "F6a", "F6b", "F6c",
"F6d", "F7a", "F7b", "F8"), class =
1999 Aug 16
2
axis ignores srt/crt (PR#249)
Rotated text for axis labels should be possible with one of
par(srt=90)
axis(1,at,labels)
par(srt=0)
or
axis(1,at,labels,srt=90)
(or similar with crt instead of srt)
None of these works in pre0.65 or in 0.64.2
_
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc,
2011 Feb 25
1
question about "srt" argument in text() plotting function
Just wondering: it appears that "srt" does not accept a vector of
values, just a single value. I ended up using tapply() as the
following code snippet shows, so it's not a major problem. I was justa
little surprised that this argument (srt) differs from things like
"labels," "lty," "col," and so on, all of which accept (and recycle
as needed
2003 Aug 16
1
equivalent of Splus command axis(..., srt=45, adj=1) in R
Dear R-users
moving from Splus to R (under Windows), I notice that command "srt" within a
plot in the original Splus code is ignored by R.
For example, if a plot something and then include the line of code
axis(1, at=Time, labels=Text, srt=45, adj=1)
the srt=45 command within the axis() command fails to draw Text at 45
degrees on the x-axis in R but it works properly in Splus.
I will
2006 Nov 07
1
R freezes with text(...., srt = -1e-8) (PR#9347)
Full_Name: Emmanuel Paradis
Version: 2.4.0
OS: Linux
Submission from: (NULL) (193.49.41.124)
Adding text to a plot makes R freeze if 'srt' is given a very small negative
value, eg:
plot(1, type = "n")
text(1, 1, "some text....", srt = -1e-8)
But if 'srt = -1e-6' (or smaller) or 'srt = -1e-19' (or greater), this works.
This seems to be OS-dependent:
2001 Aug 02
1
mtext and srt
Hello:
I am trying to get some text at an angle in the margins of a plot. I was
accustomed under older versions of Splus to using srt in the mtext command,
but that seems not to work under R,
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 3.0
2007 Aug 16
1
to combine bwplot + srt option?
Hi R-users,
Could someone help me to combine bwplot and srt option (exemple srt = 45
degree or srt 90 degree)? My graphic contains 146 boxplots, I would like
to label all of them. As you know, labels are not readable.
Thank you for your help in advance!
Lassana KOITA
Chargé d'Etudes de Sécurité Aéroportuaire et d'Analyse Statistique /
Project Engineer Airport Safety Studies &
2005 Feb 15
1
lattice multiple plots per page
Dear R-sters,
I was wondering if anyone has encountered the following issues. I've
figured out how to get multiple levelplots [library(lattice)] on a single
plot. However, when I add text (adding axis labels for the entire four
panel plot) the text is missing when I insert the *.eps file I've created
into my LaTeX document (via MikTeX-WinEdt). And, I've just upgraded to R
2006 Feb 04
2
srt --- slope text with function?
[resent, plus small addition; I do not understand why gmail sent a
weird charset.]
Dear R wizards:
I would love to write a general function that matches the slope of a plotted
line in an xy-plot at a particular x,y location. something like
x<- (1:10)^2; y<- 40:50;
plot( x,y, type="l", xlim=c(0,90) )
srt.at5 = text.at.current.plot.with.slope( x, y, 5);
text(
2004 Jan 27
1
ltext( pos=NULL )
ltext( 0, 0, pos=NULL, label="xxxx")
gives an error message.
The help page of ``ltext'' references to the help page of ``text''
where the default value of pos is set to NULL.
To solve the problem ``ltext'' could be changed:
OLD:
if (!missing(pos))
NEW:
if (!missing(pos) && ! is.null(pos) )
Wolfram
2009 Aug 27
2
setting par(srt) according to plot aspect ratio
How can I look up the aspect ratio of a plot, so I can use that to correctly
adjust the angle of text which is supposed to be parallel to a line in the
plot?
The following example code works for a 1:1 aspect ratio, but puts the text
at the wrong angle if the plot region is short and wide or tall and narrow.
I can't find a par() component containing the plot aspect ratio. It will
be for
2016 Mar 25
1
Network UPS Tools for APC Smart-UPS 5000VA 230V SRT
Dear,
Currently, I'm looking for a UPS that can support NUT. I found an APC
Smart-UPS 5000VA 230V SRT, but I'm not 100% that is supported.
*APC Smart-UPS 5000VA 230V SRT*
http://www.apc.com/shop/nl/nl/products/APC-Smart-UPS-SRT-5000VA-230V/P-SRT5KXLI
I searched in http://networkupstools.org/stable-hcl.html and I found that
you support "*APC Smart*" I would just to confirm
2012 Jan 31
1
R help, labeling the tick marks as I want
R help,
I would like to change the labels of my tick marks on the x-axis, and I am
having difficulty understanding how. Basically, my current axis labels
are: 0, 50, 100, 150, 200, and I would like: 1962Q1, 1974Q2, 186Q4, 1999Q2,
2011Q4.
With all respect to generality, could you please simply tell me the code to
achieve this in the context of this problem? I learn programming by
example and
2003 Oct 27
1
How can strheight be calculated in lattice/grid?
If I have drawn a string with ``ltext( x, y, labels="first string" )''
how can a draw a second string just one line (or strheight("X")
below the first string regardless of the size and scales of the panel?
Thanks
Wolfram
2006 Feb 22
1
stripchart-y axis labels
Hello,
I am trying to create a stripchart for my data, where y axis labels are
characters (ie,names of cities). I would like to change the orientation
of the y - axis labels, ie perpendicular to y axis.
Below is the code i am using:
par(srt=90)
with(ozone.ne.trim,
stripchart(Median~City,main = "stripchart(ozone)"))
The par option doesn't seem to working.
Kindly help.
Thanks
2006 Oct 17
2
plotting text with very small negative rotation hangs (PR#9301)
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig308510A16A445880F353C5C9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
to trigger the bug:
plot(0:1,0:1)
text(0.5,0.5,"abc",srt=3D-1e-9)
this doesn't happen for positive, small srt,
or for negative srt with magnitude greater
than about 1e-8 (the example in
2007 Feb 27
1
[Q] Veritas BMR and CentOS 3 work together error????
We installed BMR boot server version 6.0 on DELL server. This DELL server have CENTOS 3.7 in it. We got error message when we tried to use "bmrsrtadm". Anyone know how to fix it or work around? ./bmrsrtadm Select one of the following options: 1. Create a new Shared Resource Tree. 2. Create a new CD image based Shared Resource Tree. 3. Copy an existing
2005 Nov 29
1
rotated ylab with xyplot
hi all,
in R, what's the best way to have a rotated ylab in a graph plotted with
either xyplot or xYplot? I tried this but it didn't work.
xyplot(y~x,data.frame(x=1:10,y=runif(10)),ylab=list(srt=90,crt=90,rot=90,label="my label"))
more generally, how do you output a text at an angle in a lattice graph?
what would be a good reference for R lattice graphics? I need more
2006 Feb 08
2
rotating axis / mtext labels
Hello list.
Is it possible to use par(srt=45) to rotate text by 45 degrees along the
x-axis of a plot. Using:
<code>
x_names<-c("C57 Nv", "C57 Vacc", "129 Nv", "129 Vacc", "IFNgR Nv", "IFNgR Vacc")
par(srt=45)
mtext(font=2, x_names, side=1, line=1, at=l, cex=1.2)
par(srt=0)
</code>
doesn't seem to work in R 2.2.0
2005 Jun 11
1
Wishlist: strwidth allow for rotation of text (PR#7931)
Hi,
This is not a bug, but an enhancement suggestion. "strwidth" only gives the
width of the text according to the x-axis user coordinates, and similarly
for "strheight". Even if the par setting "srt" is changed to rotate the
text, the resulting width (resp. height) is in terms of the non-rotated
text. Currently, if I want to know how much space to leave for