[R] Add coordinates at specific points...

JIA Pei
Wed, 13 Jul 2011 17:22:03 -0000

Hi, all:

I used two lines of very simple code to draw a sin curve.

dev.new(width = 640, height = 480)
> plot(sin, -pi, 2*pi)


Now, I added a specific line (red line in the picture at
http://www.visionopen.com/Rplot.png) by using abline.
However, I still love to add the X-coordinate "2.50000" outside the
rectangle box. How to do it in R?
Right now, I'm using Windows Paint to add the characters "2.50000"
up to the
plot drawn by R.


Best Regards
Pei


--

Pei JIA

Email: jp4work@gmail.com
cell:    +1 604-362-5816

Welcome to Vision Open
http://www.visionopen.com

	[[alternative HTML version deleted]]