R 2.10
Windows 7
I am trying to plot three graphs on top of each other. I need to have the
axises perfectly aligned. For some reason the ticks on the y axes are slightly
off so they do not perfectly align. Can someone tell me how I can get the to
overlay each other perfectly? I thought the
John,
you need ylim for that capability.
Rich
tmp - read.table(textConnection(
Slope PctCont PctCat PctTTst
0.05 7.45.6 6.3
0.1017.7 11.313.3
0.1532.7 18.725.6
0.2053.3 27.540.2
0.2572.1 41.254.5
0.3085.5 52.970.8
use 'plot' and 'lines'
plot(x,y1,ylim=range(c(y1,y2,y3)))
lines(x,y2)
lines(x,y3)
Sent from my iPad
On Apr 22, 2011, at 23:55, John Sorkin jsor...@grecc.umaryland.edu wrote:
R 2.10
Windows 7
I am trying to plot three graphs on top of each other. I need to have the
axises perfectly
Hi Dr. Sorkin,
One way of doing what you want is via matplot():
with(d, matplot(Slope, d[, -1], type = 'l', lty = 1))
where d is your data.
HTH,
Jorge
On Fri, Apr 22, 2011 at 11:55 PM, John Sorkin wrote:
R 2.10
Windows 7
I am trying to plot three graphs on top of each other. I need to
4 matches
Mail list logo