search for: srt

Displaying 20 results from an estimated 272 matches for "srt".

Did you mean: set
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...
2002 Sep 16
0
mosaicplot enhancements (PR#2023)
...ALSE, margin = NULL, > cex.axis = 0.66, las = par("las"), 18,19c22,24 < mosaic.cell <- function(X, x1, y1, x2, y2, off, dir, color, lablevx, lablevy, < maxdim, currlev, label) --- > mosaic.cell <- function(X, x1, y1, x2, y2, srt.x, srt.y, > adj.x, adj.y, off, dir, color, lablevx, lablevy, > maxdim, currlev, label) 50c55 < srt=0, adj=.5, cex=.66, this.lab) --- > srt=srt.x, adj=adj.x, cex=cex.axis, this.lab) 110c115 < srt=9...
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 i...
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,&quot...
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: I observed this under Linux but not under S...
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 plot.phylo in the ape package triggers it, with a srt value of -3e-15). plot(0:1,0:1) for (i in 1:10) { cat(i,"\n") text(0.5,0.5,"hello",srt...
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 year 2001 mo...
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 / Proje...
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 Shared Resource Tree to a new location. 4. Modify an...
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 = function( x, y, subscripts, ... ){ ltext( x,...
2006 Feb 04
2
srt --- slope text with function?
...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( x[5],y[5], pos=3, srt=srt.at.5); to do this, I first need to compute the function slope around x[5], which is an easy task. alas, the harder task is that I need to scale this by the plot aspect ratio and the axes. How can a function read...
2008 May 27
5
Rotated text on a regression line
Dear all, I stumbled over a problem recently when trying to use srt with text() on a windows device. What I intended to do was to plot a simple regression line, and to rotate a piece of text such that the text has the same angle as the regression line. However, the text is always plotted in a slightly wrong angle: #### x=1:10 #create arbitrary x and y values y...
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 that you...
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(s...
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 submitted. I am really at a loss because these editors are inflexible w...
2009 Aug 27
2
setting par(srt) according to plot aspect ratio
...l and narrow. I can't find a par() component containing the plot aspect ratio. It will be for png() or postscript() output, if that matters. f <- function(x) x g <- function(x) 2*x (f_angle <- atan(1)*180/pi) (g_angle <- atan(2)*180/pi) xpos <- 0.2 plot(f) plot(g,add=TRUE) par(srt=f_angle) text(xpos,f(xpos),label="y=x",pos=3) par(srt=g_angle) text(xpos,g(xpos),label="y=2x",pos=3) -- Levi Waldron post-doctoral fellow Jurisica Lab, Ontario Cancer Institute Division of Signaling Biology TMDT 9-304D 101 College Street Toronto, Ontario M5G 1L7 (416)581-7453...
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 vertical text in the user coordinates, I manually invert the user coordinates, and then change them back. Even if arbitrary &quo...
2012 Jan 30
2
Help page of colors() : add a new example ?
...width=10) # replace by quartz(width=10) for MacOS and by X11(width=10) for Linux par(ann=FALSE, xaxt="n", yaxt="n", bty="n") plot(rep(1:50,14)[1:657], tempo[1:657], pch=22, bg=1:657, cex=1.5, bty="n") par(xpd=TRUE) axis(side=2, at=14:1, labels=, cex.axis=1.5, srt=90) text(rep(-2, 14), 14:1, as.character((0:13)*50+1), srt=0, cex=1) text(c(10,20,30,40,50), rep(-0.5,5), c(10,20,30,40,50), srt=0, cex=1) ## palette(colors()) allow to replace the color names by the numbers indicated ## in the figure. palette(colors()) plot(1, col=630, pch=16, cex=10) # 630 is &q...
2019 Feb 21
0
32 seconds vs 72 minutes -- expected performance difference?
...The "STATUS_NO_MORE_FILES" is erroneously taken into account in the stats because your kernel is missing this patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8e6e72aeceaa So another red herring I'm afraid :( Looking at the Service Response Time (SRT, time between request & response) stat in wireshark we see this: SMB2 SRT Statistics: Filter: smb2.cmd Index Commands Calls Min SRT Max SRT Avg SRT Sum SRT 5 Create 14759 0.000387 0.035268 0.001288 19.003702 6 Close...
2002 Nov 15
1
Plotting in the margin
...to place a line (tilted at an angle) in the margin of an R plot. Is there any way to place such an annotation outside the plotting area? As an alternative, being able to plot a rotated character (the pipe, |) in the margin would be sufficient. The problem is that mtext doesn't work with the srt option. As a further alternative, if I could put a legend in the margin, I could use the text command within the legend, and then srt would work (I've checked, and text("|",srt=x) seems to work for various values of x besides multiples of 90). But I don't know how to put a legen...