t; To: r-help@r-project.org
> Subject: [R] Change the limits of a plot "a posteriori"
>
> Hi all
>
> How can I change the limits (xlim or ylim) in a plot that has been
> already
> created?
>
> For example, consider this naive example
> curve(dbeta(x,2,4))
> cu
On 01/12/2011 1:12 PM, jcano wrote:
Hi all
How can I change the limits (xlim or ylim) in a plot that has been already
created?
You can't, if you're using classic R graphics. They use an "ink on
paper" model of graphics. If you want to change what you've drawn, you
get a new piece of paper.
jcano wrote on 12/01/2011 12:12:03 PM:
> Hi all
>
> How can I change the limits (xlim or ylim) in a plot that has been
already
> created?
>
> For example, consider this naive example
> curve(dbeta(x,2,4))
> curve(dbeta(x,8,13),add=T,col=2)
>
> When adding the second curve, it goes off the ori
Hi all
How can I change the limits (xlim or ylim) in a plot that has been already
created?
For example, consider this naive example
curve(dbeta(x,2,4))
curve(dbeta(x,8,13),add=T,col=2)
When adding the second curve, it goes off the original limits computed by R
for the first graph, which are rou
4 matches
Mail list logo