Skip to content
Prev 4236 / 63424 Next

plot.function documentation (was ".. too large alpha ..")

On Fri, 25 Aug 2000 18:57:50 +0200 (CEST), you wrote in message
<14758.42382.735308.898057@gargle.gargle.HOWL>:
Hmmm, I can see that someone might want both, and have them take
inconsistent values.  Then from and to should control the range of
values graphed, and xlim should control the plotting box.

For example,

  plot(function(x) x^2, xlim=c(-1,1), from=0, to=1)

should do what it does now, i.e. have the x-axis run from -1 to 1, but
only positive x values are graphed.

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._