I think 'usr' can be used to specify the extent of the plotting
region. So it is useful if, say, you are creating a multiplot window
and want to scale all plots for comparison. I think that (for
multiplots) xlim has limited usefulness.
On 23-Oct-07, at 10:12 PM, Dave Hewitt wrote:
> No p
Excellent. Thank you both for the help. Just what I was looking for.
On 21-Oct-07, at 12:18 AM, Dave Hewitt wrote:
> The controls for the margin sizes, which set the amount of space
> allocated for the labels, are the 'mai' numbers in the first 'par'
> call. The fourth number changed to
mtext does not support srt -- use text instead. There is a comment about
that in the example although perhaps the wording could be clearer.
On 10/20/07, Dave Hewitt <[EMAIL PROTECTED]> wrote:
> The controls for the margin sizes, which set the amount of space allocated
> for the labels, are the 'm
The controls for the margin sizes, which set the amount of space allocated
for the labels, are the 'mai' numbers in the first 'par' call. The fourth
number changed to 0.9 or greater should give you more room like you're
looking for.
You can use the alternative 'mtext' way of adding the label (i
In the zoo example you can control how far it lies from the axis
by adjusting the text() command and you can alter the margins
using the values for the mai parameter in the par() command.
On 10/20/07, John Theal <[EMAIL PROTECTED]> wrote:
> I still haven't resolved this problem. However, when I r
I still haven't resolved this problem. However, when I run the plot.zoo
example the label appears, it also appears if I enter the commands
manually. The problem that persists is that the label has to lie so
close to the secondary y axis, that (in my case) it becomes almost
indistinguishable f
That's strange. When I run
example(plot.zoo)
its also cut off but if I run the very same code by copying and pasting it into
my session then its not cut off:
> packageDescription("zoo")$Version
[1] "1.4-0"
> R.version.string
[1] "R version 2.6.0 Patched (2007-10-08 r43124)"
library(zoo)
examp
I was curious about the exact same question that John Theal posed - how to
get a second y-axis label for a plot of two data series against a common x
(in my case, time).
I tried two different methods - one in lattice and one in plot. Both times
the y-axis on the right side appears but the label
One of the examples here shows two Y axes each with a label:
library(zoo)
example(plot.zoo)
On 10/18/07, John Theal <[EMAIL PROTECTED]> wrote:
> I have the following R code to create a plot with two y axes. I am
> essentially trying to
> plot a price series with a volume series on the same graph
Yes, a scatterplot would be better. But for the sake of interest, is
it possible to
get the label for the secondary y-axis to appear? I have been
playing around with
it all day in an attempt to get it to work and have been
unsuccessful. I would like
to know if it is possible and/or what I
On 10/18/07, John Theal <[EMAIL PROTECTED]> wrote:
> I have the following R code to create a plot with two y axes. I am
> essentially trying to
> plot a price series with a volume series on the same graph. (i.e. to
> compare price with volume). I can label the first
Why not use a scatterplot? Y
I have the following R code to create a plot with two y axes. I am
essentially trying to
plot a price series with a volume series on the same graph. (i.e. to
compare price with volume). I can label the first
y axis successfully, but the problem is in labeling the 2nd y-axis.
Essentially, t
12 matches
Mail list logo