On Tue, 1 Feb 2011 14:20:51 +0900
Gundala Viswanath gunda...@gmail.com wrote:
I have a R script that contain these lines for plotting:
plot(foo,lwd=2,lty=3,col=red, main=);
plot(bar,lwd=2,lty=3,col=blue);
legend(0.6,0.6,c('Default','Probabilistic'),
col=c('red','blue'),lwd=3);
But it
I have a R script that contain these lines for plotting:
plot(foo,lwd=2,lty=3,col=red, main=);
plot(bar,lwd=2,lty=3,col=blue);
legend(0.6,0.6,c('Default','Probabilistic'), col=c('red','blue'),lwd=3);
But it generate 1 file (Rplot.pdf) with two pages. Each page for 1 plot.
Is there a way I can
Dear Jorge,
Thanks for the reply. But what I mean is to
create plot on top of another in to one page.
So in the end there will be only one plot with two curves.
Actually what I am to plot is two ROC curves.
- G.V.
On Tue, Feb 1, 2011 at 3:37 PM, Jorge Ivan Velez
jorgeivanve...@gmail.com
par(mfrow=c(3,2)) ## will get you 3 rows and 2 columns
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-Plot-Two-Curves-Into-One-Page-tp3250546p3250567.html
Sent from the R help mailing list archive at Nabble.com.
__
abline() or lines()
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-Plot-Two-Curves-Into-One-Page-tp3250546p3250568.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
5 matches
Mail list logo