[R] plot() function

Rashid Nassar rnassar at duke.edu
Mon May 13 21:45:02 CEST 2002


Markus,

Is this what you want?

plot(x, y1)
points(x, y2)   or  lines(x, y2)

Rashid Nassar

On Mon, 13 May 2002, Markus Haag wrote:

> Dear List Members,
>
> I have one basic question concerning the plotting abilities of the R
> language. I'd like to plot 2 functions (x,y1 and x,y2)  which should appear in one
> graphic window but I didn't manage to do that and I haven't found any advice
> on that in one of the several FAQ's.
> I am only able to plot the first function: plot(x,y1).
> any help would be appriciated.
>
> bye,
>
> Markus
>
> --
> GMX - Die Kommunikationsplattform im Internet.
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
>
>

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list