[R] plotting command trouble
Schmitt, Corinna
Corinna.Schmitt at igb.fraunhofer.de
Thu Apr 19 15:49:02 CEST 2007
Thanks. I will try it. Perhaps it works.
Corinna
-----Ursprüngliche Nachricht-----
Von: Jim Lemon [mailto:jim at bitwrit.com.au]
Gesendet: Donnerstag, 19. April 2007 15:16
An: Schmitt, Corinna
Betreff: Re: [R] plotting command trouble
Schmitt, Corinna wrote:
> I know, but it is needed. Any other idea?
>
Hi Corinna,
When you display a scatterplot, each X value must have a corresponding Y
value. Otherwise where do you put the point? I think you may mean that
you need 61 X values upon which you can plot 61 Y values. If you just
want a sequence from 0 to 0.896 with 61 values:
seq(0,0.896,length=61)
This will plot with 0:60 as X values, or you can just use:
plot(seq(0,0.896,length=61))
Jim
More information about the R-help
mailing list