[R] plot function
joerg van den hoff
j.van_den_hoff at fz-rossendorf.de
Wed Jan 26 09:03:30 CET 2005
Cuichang Zhao wrote:
> Hello,
> how can use change the plot function to change the range of axises. I want my graph from a certain range [a, b], instead of from the min to max of of datas?
> if i want draw a line instead of dots, should i use both plot and lines function.
> for example:
> plot(x, y);
> lines(x, y);
>
> things seem not working if i only use lines(x, y).
>
> Thank you so much.
>
> Cuichang Zhao
>
> Jan 25, 2005
>
>
> ---------------------------------
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
the first "see also" entry in the help text for "plot" is
"plot.default". well, do that: try "?plot.default". time estimate for
finding it yourself: one minute. you really should think about using the
online help. if everybody would use your approach, the list would
probably get a thousand 'hits' per hour of the quality: "is there a way
to speed up matrix addition? the for loops run too slow."
More information about the R-help
mailing list