On Sep 8, 2011, at 6:38 PM, Andra Isan wrote:
> Hi All,
> I am plotting different lines in my graph and the problem I have is
> that if the first plot has smaller y value than the second plot, I
> will not be able to see the the top part of the graph. I do the
> following:plot(p1, avg="vertical", lwd=3, col="red",
main ="all
> graphs")plot(p2, avg="vertical", lwd=3,
col="pink", add = TRUE)
> where p1 and p2 are the performance measures from the ROCR package.
> The problem I have is that for the first plot, the max of y axis is
> 0.3 and for the second plot is 1, but when I am done with plotting,
> I can not see the top part of the second plot. So, I was wondering
> if there is any way to have the max of y axis to be 1 so that I can
> see the top part of the second plot as well too?
?plot # the ylim argument
--
David Winsemius, MD
West Hartford, CT