[R] plot
Romain Francois
francoisromain at free.fr
Fri Jan 28 12:45:45 CET 2005
Hello,
You search that command :
plot(x1,x2,pch=rep(1:4,50))
I think you should read some basic manuals about R, the FAQ, etc ...
NICOLAS DEIG wrote:
>hello,
>
>I wonder whether there is a way to plot in R the following:
>
>I have two arrays of dimension (200*1) say x1 and x2.
>I would like to plot on the same graph x1[1:50,]*x2[1:50,] with pch=1
>
>
> x1[51:100,]*x2[51:100,] with pch=2
> x1[101:150,]*x2[101:150,] with pch=3
> x1[151:200,]*x2[151:200,] with pch=4
>is it possible with the "plot" function? Or do I have to plot
>4differents graphs?
>THanks in advance.
>nicolas
>
>
--
Romain FRANCOIS : francoisromain at free.fr
page web : http://addictedtor.free.fr/ (en construction)
06 18 39 14 69 / 01 46 80 65 60
_______________________________________________________
Etudiant en 3eme année
Institut de Statistique de l'Université de Paris (ISUP)
Filière Industrie et Services
http://www.isup.cicrp.jussieu.fr/
More information about the R-help
mailing list