ity
College Station, TX 77843-4352
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of arun
> Sent: Saturday, July 21, 2012 2:16 PM
> To: Stefanie Wind
> Cc: R help
> Subject: Re: [R] Control y axis
>
> Hi,
>
4,6,8,10,12,14,16,18))
> axis(2,at=c(-8,-6,-4,-2,0,2,4,6,8,10))
A.K.
From: Stefanie Wind
To: arun
Sent: Saturday, July 21, 2012 9:48 AM
Subject: Re: [R] Control y axis
Nevermind - got it this way:
plot(x, y, type ="o", xlab="Panelist", y
Sent: Friday, July 20, 2012 11:42 PM
Subject: Re: [R] Control y axis
Thanks! Do you know how I could get the values -8:8 to print on the y axis?
On Fri, Jul 20, 2012 at 9:06 PM, arun wrote:
Hi,
>
>The bracket after lty=1 should be replaced with comma (,).
> x<-1:15
> y<
help@r-project.org
Cc:
Sent: Friday, July 20, 2012 3:29 PM
Subject: [R] Control y axis
I can't get the y axis to extend the full range that I need, which is -8 to 8
Here's my code. I tried using ylim, but it's still truncating at the
extremes in my data.
plot(x, y, type ="o"
it is a typo
you sent
plot(x, y, type ="o", xlab="Panelist", ylab="T value",lwd=1.5,lty=1)
xlim=range(1:14),ylim=range(-8:8), las=1)
it should have been
plot(x, y, type ="o", xlab="Panelist", ylab="T value",lwd=1.5,lty=1,
xlim=range(1:14),ylim=range(-8:8), las=1)
On Fri, Jul 20, 2012 at 3:29
I can't get the y axis to extend the full range that I need, which is -8 to 8
Here's my code. I tried using ylim, but it's still truncating at the
extremes in my data.
plot(x, y, type ="o", xlab="Panelist", ylab="T value",lwd=1.5,lty=1)
xlim=range(1:14),ylim=range(-8:8), las=1)
Any suggestions?
6 matches
Mail list logo