[R] behaviour of plot(...,type="l")

Zoltan Barta Z.Barta at bristol.ac.uk
Tue Oct 24 10:21:43 CEST 2000

On Mon, 23 Oct 2000 08:37:26 -0700 (PDT) Thomas Lumley 
<thomas at biostat.washington.edu> wrote:

> plot.default() has an argument type=, so it *always* resets the plotting
> type. If you don't specify that argument it resets it to the default, "p".
> It could be changed to default to par("type") but I don't see when this
> would be helpful.

It can be helpful if you are plotting a lot of line drawing (which is 
my case) and you would not like to set 'type="l"' in all of your plot 
commands. Of course, you can write a small function for that but I 
feel that it would be nicer to be able to set this with par().

Zoltan Barta

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