Hi dear all!
I wonder if anybody can help me with this:
I have a plot:
allchr - read.table(allchrtog.txt, header=F)
attach(allchr)
names(allchr)
[1] V1 V2 V3 V4
plot(V1,V3, type=n)
lines(V1,V3)
and I want to add grids to the plot but just at specific x points. So
for example, the first
grid refers you to abline whenmore fine tuning is required, i.e.
when the situation is not a regular grid.
?abline
abline(v=286.16, lty=dotted)
If you had a vector, vec, then this should do the trick:
abline(v=vec, lty=dotted)
--
David Winsemius
On Mar 16, 2009, at 4:25 PM, Laura
Thank you! that worked nicelly!
Laura
2009/3/16 David Winsemius dwinsem...@comcast.net:
grid refers you to abline whenmore fine tuning is required, i.e. when the
situation is not a regular grid.
?abline
abline(v=286.16, lty=dotted)
If you had a vector, vec, then this should do the
3 matches
Mail list logo