[R] How can I generate line segments between two sets of points on the same graph?

2007-01-15 Thread Lloyd Lubet
I am drawing two plots on the same graphics device window as follows: yLim-range(range(template),range(slope*subSeries) ) plot( template, type=p, pch=19,cex=1.75,lwd=2.5,lty=1, ann=F, axes=F,frame.plot=T,col=red, ylim=yLim,new=T ) title( main = myDotChart of original template and subSeries vs

[R] How do I generate line segments between two sets of points on the same graph

2007-01-15 Thread Lloyd Lubet
Just by re-examining my question I found the answer ! segments(3, template[3], 3,slope*subSeries[3], col= orange,lwd=2)I corrected the subSeries Points as they appear on the graph withslope*subSeries[3].thank youLloyd L [[alternative HTML version deleted]]

[R] executing strings

2006-10-15 Thread Lloyd Lubet
I'd like to excute character strings such as z-plot( objects()[1]; eval(z) and viola I'd have a plot of my first dataframe in the first frame. Unfortunately this approach no longer works. Help? Lloyd L [EMAIL PROTECTED] [[alternative HTML version deleted]]