[R] par() function problem

zlamal@ufi.fme.vutbr.cz zlamal at ufi.fme.vutbr.cz
Fri Sep 27 08:30:20 CEST 2002


Hi,
  I want to change line and marker type using par() function (my 
example is taken from bigger function)
 
oldpar<-par(no.readonly=TRUE)
par(type="b",lty=1)
  plot(x1,col=1)
par(type="b",lty=2)
  lines(x2,col=2)
par(oldpar)  # restore plotting parameters

First line is drawn only with circles (no line)
Second line is drawn only line but not circles.

Where is problem?

Jakub Zlamal
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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