similar to: equivalent of Splus command axis(..., srt=45, adj=1) in R

Displaying 20 results from an estimated 8000 matches similar to: "equivalent of Splus command axis(..., srt=45, adj=1) in R"

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,
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 Jul 28
1
text() and vector arguments like adj
Hello, I remarked that the function ## Default S3 method: text (x, y = NULL, labels = seq(along = x), adj = NULL,pos = NULL, offset = 0.5, vfont = NULL,cex = 1, col = NULL, font = NULL, ...) accepts vectors of arguments (of the same length) except for the parameter adj. When passing a vector of information for adjusting the labels, only the first value is taken. Any special reason for this ?
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
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:
2018 Sep 14
2
Poor documentation for "adj" and text()
Hello Core Team, I sent this patch over a year ago. It looks like it was sent in response to another user's complaint which echoed some of my own observations about problems in the documentation for 'text'. Did anyone have a chance to look it over? I'd like to get it out of my queue. Thanks, Frederick On Tue, Apr 11, 2017 at 12:01:05PM -0700, frederik at ofb.net wrote: >
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 &
2002 Oct 22
1
axis
I am using R 1.6.0 on Windows 2000 Professional. I am trying to rotate x-axis labels using "srt = 45, adj = 1", but nothing is happening. It is like the axis command is ignoring the "srt" and "adj" arguments. Thanks, Mike Lane -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2000 Dec 02
2
axis label rotation
Hello, I recently switch over from Splus to R and I have not been able to generate right axis labels that face inwards. This is accomplished in Splus with the command srt=270 but this option is not supported in R. In addition the par argument las=0 or 3 does not rotate the right axis labels. The editor of a journal is demanding that the right axis labels face inwards in the figures I recently
2003 Jan 24
1
problem with srt vector in xyplot {lattice}
[ R 1.6.1 ] PROBLEM The plot of the appended code does produce a postscript file which is not interpretable by gv under Linux. REMARK If the srt argument is commented out or set to a constant like 45 or 90, the ps file becomes interpretable. CODE xytest <- function( ... ){ with( airquality, { print( xyplot( Ozone ~ Temp | Month , panel
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(
2011 Apr 16
2
Rotating the x-axis labels of a barplot
Dear listserv, Here is my latest formatting problem. I would like to rotate the x-axis labels by 45 degrees on a _barplot_. Apparently this is slightly different from the example given in the R FAQ, which is for rotating the x-axis labels on a scatterplot (http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f). I have adapted that code, as best I could, and
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
2006 Jun 09
1
Rotate values on Y axis
Hi, I have been working through one of the examples on the FAQ about rotating the labels on the x axis, I need to do the same but for the y axis. I have managed to change some of the code, but I am still not getting there, there is still something wrong. My syntax is as follows: > par(mar = c(5, 7, 4, 2) + 0.1) > plot(1 : 8, yaxt = "n", ylab = "") > axis(2,
2009 Jul 09
2
X-axis labels not displayed when changing ylim
Dear R users, I am encountering a x axis labeling problem on quite basic plots... I use the following code which displays the labels on the x-axis with a 45 degrees angle: p <- plot(myobject1, type="b", col="red",cex=1, lwd=2, axes=FALSE, ann=FALSE, ylim=c(0,70)) title(main="title", font.main=4) axis(side=1, lab=F) text(axTicks(1), par("usr")[3] - 2,
2018 Sep 14
0
Poor documentation for "adj" and text()
>>>>> >>>>> on Thu, 13 Sep 2018 23:33:41 -0700 writes: > Hello Core Team, I sent this patch over a year ago. It > looks like it was sent in response to another user's > complaint which echoed some of my own observations about > problems in the documentation for 'text'. Did anyone have > a chance to look it over?
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
2010 Oct 07
2
text/mtext axis labels on graphs
Hello everyone I have problem with axis labels on graphs, I have my code as below: plot(0,0,xlim=c(1,ncol(PA)),ylim=c(1,nrow(PA)),main="Stratigraphic Range",xlab="Time Bins",ylab="Taxa",cex.axis=1.5,cex.lab=2,cex.main=2.5,mgp=c(5,1.5,0),xaxt="n") text(1:(length(strat_name)), y= 0, adj=1, srt=45,labels=strat_name,xpd=TRUE, cex=1) #adds text to x
2011 Nov 24
1
Horizontal Y axis title above the y axis
Dear R-help team I have tried hard to turn my Y axis 90 degrees, so that it is written horizontally, and placing it above the Y axis, but I did not succeed. I have tried to adapt the following functions: - plot() - title() - mtext() And some more that did not prove to be useful (e.g. text() etc). The closest I got to my aim was with mtext(): mtext("Yield