Displaying 20 results from an estimated 9000 matches similar to: "Vertical string with horizontal letters"
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,
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:
>
2023 Mar 30
2
single character in R, and how to manipulate it
Hi there,
I just noticed that "crt" is a graphical parameter, which is stated as follows in the help page of "par":
A numerical value specifying (in degrees) how single characters should be rotated. It is unwise to expect values other than multiples of 90 to work...
However, I did not find any code example to demo the usage of "crt", and even know how to present a
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
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=x*2-rnorm(1:10)
2023 Mar 31
1
single character in R, and how to manipulate it
Hi Jinsong,
Maybe "srt" will do what you want. As you noted non-orthogonal
rotations may not work on some devices. You may be able to download
mirror fonts from places like fontmirror.com, but it more complicated.
Jim
On Thu, Mar 30, 2023 at 7:25?PM Jinsong Zhao <jszhao at yeah.net> wrote:
>
> Hi there,
>
>
> I just noticed that "crt" is a graphical
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
2023 Mar 31
1
single character in R, and how to manipulate it
Also see the "arctext" function in the plotrix package.
Jim
On Fri, Mar 31, 2023 at 11:12?AM Jim Lemon <drjimlemon at gmail.com> wrote:
>
> Hi Jinsong,
> Maybe "srt" will do what you want. As you noted non-orthogonal
> rotations may not work on some devices. You may be able to download
> mirror fonts from places like fontmirror.com, but it more
2018 Feb 13
3
Suppress horizontal mean line in beanplot()
Hi,
I would like to use the beanplot() function from the beanplot package.
Unfortunately, I can't find out how to suppress the dashed horizontal
line, that shows the overall mean.
In the help I've found the argument "overallline", but it only allows
for "mean" or "median" .
I have tried overallline = F, overallline="n", and
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
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
2009 Jan 28
2
help with plot layout
It takes a lot of sweat to generate a composite plot with R ... sigh.
I though I was almost done when I met the umpteenth hurdle. I cannot place a nice title on the 2nd plot (raw signal)
on the layout. I do not have control on where either the "main" option of "plot" function, or "title", place the text
string which keeps dysplaying chopped from above. I also tried
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:
2002 Nov 15
1
Plotting in the margin
Hi,
I would like 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
2017 Apr 11
2
Poor documentation for "adj" and text()
Hi!
(I'd like to be able to access your bugzilla, BTW)
The documentation for parameter "adj" of text() in R 3.3.3 is hard to understand (unless you know what it does already):
"adj
one or two values in [0, 1] which specify the x (and optionally y) adjustment of the labels. On most devices values outside that interval will also work."
What is the meaning of the values? I
2001 Jun 11
1
rotate ylab
Hello,
I have an expression for the y axis, which I wish to rotate by 90
degrees (so that this label has the same orientation as for the x
axis). Thought the graphical parameter crt (or srt) would do the trick,
but haven't had any joy so far. Any ideas?
(Using Version 1.2.2, linux, redhat 7.0)
Cheers,
Rob.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2001 Feb 01
3
Rotated mtext
I seem to remember this coming up before, but I can't find it any messages I've
saved or in the archives (searching by subject). I want to rotate mtext so that
it's perpendicular to the right side. I tried srt=90 and lots of other values,
but it seems to be ignored. Is there a way to do this?
______________________________________________________________________
Stuart Luppescu
2008 Oct 13
3
rotating points on a plot
Anybody know how to rotate shapes generated with the 'points'
function? I'm trying to place points around a radial diagram such
that the y-axis of individual shapes are oriented with the radii of
the circle rather than the y-axis of the larger plot area. Perhaps
something analogous to the 'srt' and 'crt' functions for text that
appear under 'par'?
2003 Jul 31
1
Mac OS 10 (not X11) failure to rotate symbols (PR#3602)
In the following code the arrow symbols do not rotate with the text on
the Mac OS window, however the do rotate on X11 port on Mac OS.
(R version 1.71)
x <- c(0,10.)
y <- c(0,10.)
offset <- 3
centre <- 5
plot(x,y, xlim=range(x), ylim=range(y),type="n", xlab="",ylab="",
main="",xaxt="n",yaxt="n")
for (i in (seq(0, 340,
2007 Aug 02
2
y axix number into horizontal direction
Dear R users,
I used plot() and mtext() functions to draw a plot. The numbers: 0,20,35,
40,60,80,100 were in the vertical direction. I'd like to transfer them into
the horizontal direction.
plot(0,0,xaxt="n",type="n", ylim=c(0,100))
mtext("35",side=2,at=35)
Any suggestion?
Thanks.
Rebecca
[[alternative HTML version deleted]]