] axis labels in multiple plots
Hi,
I'am trying to make a multiple bar plot over a map and I'm having difficulties
with the distance
between axes labels and the axis. Trying to control this with mgp does not
help because it
controls both axes simultaneously. For example, with default values
(and that the pasted code is readable),
From: [EMAIL PROTECTED] on behalf of Héctor Villalobos
Sent: Tue 6/19/2007 2:31 PM To: r-help@stat.math.ethz.ch Subject: [R]
axis labels in multiple plots Hi,
I'am trying to make a multiple bar plot over a map and I'm having
difficulties with the distance
Hi,
I'am trying to make a multiple bar plot over a map and I'm having difficulties
with the distance
between axes labels and the axis. Trying to control this with mgp does not
help because it
controls both axes simultaneously. For example, with default values (mgp =
c(3, 1, 0)) y-axis
labels
On Tue, 2007-06-19 at 14:31 -0600, Héctor Villalobos wrote:
Hi,
I'am trying to make a multiple bar plot over a map and I'm having
difficulties with the distance
between axes labels and the axis. Trying to control this with mgp does not
help because it
controls both axes simultaneously.
For example, this works:
x = seq(-100, 1000, 25)
y = x * x
plot(x,y, xaxt=n)
axis(1,x,FALSE,tcl=-0.3)
axis(1,x[x %% 100 ==0])
It creates two axis objects and the values of the x-axis are the
labels. The following scenario is more difficult, because it uses
'image' to plot a grid of values:
a =
J Greenbaum wrote:
Dear all,
I recently upgraded to R-2.4.0 and have had some difficulties with axis
labels. When I create a plot on the X11 display, the labels (including the
title) are not visible. However, if I execute the exact same command on the
pdf display, the labels are
No, I haven't changed anything like that. I did recently change my
xorg.conf file to get the fglrx driver running and I have a feeling that has
something to do with it, since I can login from another PC and issue plot
commands that result in graphs w/ axes. I will try reverting to my old
Replacing my xorg.conf file didn't work either. Any more ideas? Thanks!
-Jay
On 11/2/06, J Greenbaum [EMAIL PROTECTED] wrote:
No, I haven't changed anything like that. I did recently change my
xorg.conf file to get the fglrx driver running and I have a feeling that
has something to do
Dear all,
I recently upgraded to R-2.4.0 and have had some difficulties with axis
labels. When I create a plot on the X11 display, the labels (including the
title) are not visible. However, if I execute the exact same command on the
pdf display, the labels are printed. I've tried explicitly
I cannot find a way to apply custom axis tick label text. Is there a way?
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
plot(1:10,axes=FALSE)
axis(1,at=1:10,labels=10:1)
axis(2,at=1:10,labels=5*10:1)
box()
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Brown
Sent: Tuesday, May 02, 2006 12:13 PM
To: r-help@stat.math.ethz.ch
Subject: [R] Axis labels
I
bogdan romocea wrote:
plot(1:10,axes=FALSE)
axis(1,at=1:10,labels=10:1)
axis(2,at=1:10,labels=5*10:1)
box()
Thanks.
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
Hi,
I have a plot and a custom axis labeling, e.g.
x-c(...)
plot(x,axes=FALSE)
axis(2)
axis(1,1:50,c(label1,...,label50))
now since the labels are quite long, only a few fit on the page.
Can I rotate each label by 90 degree counterclockwise
(so that they are vertical)
BoM DS wrote:
Hi,
I have a plot and a custom axis labeling, e.g.
x-c(...)
plot(x,axes=FALSE)
axis(2)
axis(1,1:50,c(label1,...,label50))
now since the labels are quite long, only a few fit on the page.
Can I rotate each label by 90 degree counterclockwise
(so that they
BoM DS wrote:
Hi,
I have a plot and a custom axis labeling, e.g.
x-c(...)
plot(x,axes=FALSE)
axis(2)
axis(1,1:50,c(label1,...,label50))
now since the labels are quite long, only a few fit on the page.
Can I rotate each label by 90 degree counterclockwise
(so that they are
2005/6/17, Sundar Dorai-Raj [EMAIL PROTECTED]:
You should (re-)read ?axis, which points you to the las parameter:
x - 1:50
plot(x, axes = FALSE)
axis(1, x, paste(label, x), las = 2, cex.axis = 0.5)
axis(2)
box()
thank you very much. This answer helps me in several ways:
1. it solves my
2. I wasn't aware that there is an online-help. (was using the
tutorial on the web, which is nat at all detailed.
help(), help.search(), and apropos() may all be useful.(thanks Sarah !!)
and RSiteSearch()
You might find this handy too
example(axis)(thanks Brian !!)
2. I wasn't aware that there is an online-help. (was using the
tutorial on the web, which is nat at all detailed.
help(), help.search(), and apropos() may all be useful.(thanks Sarah !!)
and RSiteSearch()
You might find this handy too
example(axis)(thanks Brian !!)
I've produced a stripchart but I would like to change the labelling of the
x-axis. However, I can not get the scripts used in the plot() function (to
eliminate labels) to work (i.e. xaxt=n or axis=FALSE). Are there other
scripts availalable that will work with stripchart?
Cheers,
Kathryn
?par
Kathryn Wheatley kew at utas.edu.au writes:
: I've produced a stripchart but I would like to change the labelling of the
: x-axis. However, I can not get the scripts used in the plot() function (to
: eliminate labels) to work (i.e. xaxt=n or axis=FALSE). Are there other
: scripts
When I do a plot, e.g.
plot(1:10)
and resize the window so that the x-axis becomes too small to hold all
the x-axis labels, R automatically makes some of the labels disappear so
that the remaining fit in the available space.
I would like to be able to tell R which labels should not be removed.
21 matches
Mail list logo