On Sep 13, 2010, at 1:54 AM, Uwe Dippel wrote:
Though I have read quite a bit, and tried quite a bit, I have yet to
find a nice way to overlay 2 or more curves in the same plot, with
different ranges.
The different axes could be a problem but if you construct both with
predefined
-
project.org] On Behalf Of Uwe Dippel
Sent: Sunday, September 12, 2010 11:54 PM
To: r-help@r-project.org
Subject: [R] Overlay of two graphs of different axes
Though I have read quite a bit, and tried quite a bit, I have yet to
find a nice way to overlay 2 or more curves in the same plot
Though I have read quite a bit, and tried quite a bit, I have yet to
find a nice way to overlay 2 or more curves in the same plot, with
different ranges.
Here is simplified sample code to demonstrate the question:
plot(2*(seq(1,5)), type=l, axes=FALSE)
curve(2*(seq(1,5)), type=b, add=TRUE)
3 matches
Mail list logo