[R] need help with axis ticks

vibhava vibhavasrivastava at gmail.com
Sun Jan 8 20:13:58 CET 2012


hi,
 i am using par(mrow=c(6,6)) function to get 6x6 plots on one screen. the
problem that i am having is that the axis tick labels are far away from the
ticks and going into previous plots (see attached figure). i need to know
how can i reduce the distance between the ticks and their values (y axis
values).the part of the code that i am using (after reading in the data) to
create the top row is:

par(mfrow=c(6,6), oma=c(4,4,3,1), mar=par()$mar*0.25, family="serif",font=1)

plot(flow1500,scf1500, type="p", xaxs="i", yaxs="i", xaxt = 'n',xlim =
c(0,300), ylim=c(0,0.6))
plot(flow1500,ph1500, type="p", xaxs="i", yaxs="i", xaxt = 'n',xlim =
c(0,300), ylim=c(0,10))
plot(flow1500,toc1500, type="p", xaxs="i", yaxs="i", xaxt = 'n', xlim =
c(0,300), ylim=c(0,46))
plot(flow1500,alk1500, type="p", xaxs="i", yaxs="i", xaxt = 'n', xlim =
c(0,300), ylim=c(0,280))
plot(flow1500,ca1500, type="p", xaxs="i", yaxs="i", xaxt = 'n', xlim =
c(0,300), ylim=c(0,75))
plot(flow1500,tds1500, type="p", xaxs="i", yaxs="i", xaxt = 'n', xlim =
c(0,300), ylim=c(0,470))

any help would be appreciated.

regards

vibhava
http://r.789695.n4.nabble.com/file/n4276465/problem_figure.jpeg
problem_figure.jpeg 

--
View this message in context: http://r.789695.n4.nabble.com/need-help-with-axis-ticks-tp4276465p4276465.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list