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

Kjetil Kjernsmo kjetil.kjernsmo at astro.uio.no
Mon Oct 23 17:04:24 CEST 2000

Dear all,

I have a problem that I guess may be related, it haven't really bothered
me too much, so I thought it is just me, but it is a bit strange, and
while we're talking about it: 

I have 
> par()$type
[1] "p"
and, if I do 
> plot(1:5)
I get a plot with points, so far so good. Then, I go 
> par(type="l")
> plot(1:5)
but it's still points. It should have been a line, shouldn't it?
> plot(1:5, type="l")
gives a line, and 
> par("type")
[1] "l"
(ahem, yes, I re-RTFM at this point)

> R.version
platform alphaev6-dec-osf4.0e
arch     alphaev6            
os       osf4.0e             
system   alphaev6, osf4.0e   
major    1                   
minor    1.1                 
year     2000                
month    August              
day      15                  
language R

So, is it me, or....?


Kjetil Kjernsmo
Graduate astronomy-student                    Problems worthy of attack
University of Oslo, Norway            Prove their worth by hitting back
E-mail: kjetikj at astro.uio.no                                - Piet Hein
Homepage <URL:http://www.astro.uio.no/~kjetikj/>
Webmaster at skepsis.no 

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