[R-sig-Epi] multiple "stairs steps" plots

BXC (Bendix Carstensen) bxc at steno.dk
Wed Nov 30 09:23:33 CET 2005


You are looking for plot types "s" and "S", try for example:

x<-1:10 
y<-rnorm(10)

plot( x, y, pch=16 )
lines(x,y,type="s")

plot( x, y, pch=16 )
lines(x,y,type="S")

----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Center
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 30 75 87 38
fax: +45 44 43 07 06
bxc at steno.dk
www.biostat.ku.dk/~bxc
----------------------



> -----Original Message-----
> From: r-sig-epi-bounces at stat.math.ethz.ch 
> [mailto:r-sig-epi-bounces at stat.math.ethz.ch] On Behalf Of 
> Mayelin Mirabal
> Sent: Tuesday, November 29, 2005 9:41 PM
> To: r-sig-epi at stat.math.ethz.ch
> Subject: [R-sig-Epi] multiple "stairs steps" plots
> 
> 
> 
> 
> I need to show a graphic with multiple "stairs steps" plots. 
> Can I do that?. I'll also appreciate, if any of you have done 
> such a specific thing, an 
> example.
> Thanks, Mayelin Mirabal.
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-Epi at stat.math.ethz.ch mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-sig-> epi
>



More information about the R-sig-Epi mailing list