[R] problem with origin of a plot

jpardila jp_ardila at yahoo.com
Wed Jan 20 12:42:53 CET 2010


Dear list,
I have somewhat a small problem with a plot in  R. I want to produce a plot
with the two axis intersection being the exact values of ( 5,6).

The code i am using is" 

BN<-c(14.95,9.03,10.42,9.3,9.52,7.73,6.35,6.73,5.54,5.42,6.24,5.98,6.21,5.83,7.14,5.79,5.57,7.43,9.19,10.17,9.79,9.56,9.87,9.33,10.56,10.08,9.49,8.49,7.34,6.14,5.98,7.27,5.56,
7.3,6.14,6.37,5.14,5.53,5.64,6.55,7.04,9.41,9.59,9.92,10.77,9.77,10.26,8.71,8.91,9.7)

plot(BN, xlim=c(5,10),ylim=c(6,14))

When I input this code the origin of the plot is a few units before 5 and 6
but not exactly 5,6. I guess there is a parameter that i have to modify in
par or plot options but I haven't figure it out yet.

Please help.

-- 
View this message in context: http://n4.nabble.com/problem-with-origin-of-a-plot-tp1018339p1018339.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list