--Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jim Lemon
Sent: Wednesday, March 15, 2017 9:09 PM
To: Jen <plessthanpointohf...@gmail.com>
Cc: r-help mailing list <r-help@r-project.org>
Subject: Re: [R] force axis to extend
Hi Jen,
It seems wa
ednesday, March 15, 2017 9:09 PM
> To: Jen <plessthanpointohf...@gmail.com>
> Cc: r-help mailing list <r-help@r-project.org>
> Subject: Re: [R] force axis to extend
>
> Hi Jen,
> It seems way too simple, but does this work?
>
> axis(side=2,at=seq(-35,35,by=5),cex.a
> Unfortunately, that doesn't work. The axis automatically scales to (-30,
> 25, by 5).
Your data do not extend to ±35 so the axis limits you have asked axis() for are
outside the plot region. it is plot() that is (correctly) defaulting to the
data range. if you want to override that to get a
Hi Jim,
Thanks for replying.
Unfortunately, that doesn't work. The axis automatically scales to (-30,
25, by 5).
Jen
On Wed, Mar 15, 2017, 10:09 PM Jim Lemon wrote:
> Hi Jen,
> It seems way too simple, but does this work?
>
>
Hi Jen,
It seems way too simple, but does this work?
axis(side=2,at=seq(-35,35,by=5),cex.axis=0.7)
You may want to consider using a pyramid plot for this.
Jim
On Thu, Mar 16, 2017 at 11:45 AM, Jen wrote:
> Hi, I'm creating a couple of mirrored bar plots.
Hi, I'm creating a couple of mirrored bar plots. Below is data and code
for one.
My problem is that I need the axis to go from -35 to 35 by 5. I can't get
that to happen with the code below. I need it so all my plots are on the
same scale.
How can I do that using barplot? For reasons, I
6 matches
Mail list logo