[R] Line plot help

Spencer Graves spencer.graves at pdf.com
Wed Jul 16 18:43:14 CEST 2003


Standard advice:  "plot" to set "xlim" and "ylim", then a loop with a 
separate call to "lines" in a loop for each line desired.  Someone else 
may have something better for your current needs, but this works for me.

hope this helps.  spencer graves

Carlos Rios wrote:
> I was wondering if is there any way of plotting  line segments on a plot.
> 
> Actually I need a graph that shows the advantage of using a different method
> for estimate the parameter of my databse, so I've plotted the N estimatives
> for M areas in my database and then I've plotted the new estimation (N'
> estimatives) and I need a line to link those paired points (N'(1)-N(1),
> N'(2)-N(2)) vertically, for every area.   I made a functions that draws
> points trougth the diference of N(*)'-N(*) put it consume alot of CPU and
> RAM...
> 
> Better, is there any plot that does what I want to do? :)
> 
> 
> 
>  Thanks,
>   Carlos Rios
>   http://www.ence.ibge.gov.br/
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list