[R] Gap between graph and axis

Sebastian Rudnick rudnick at igb-berlin.de
Tue Nov 23 01:36:47 CET 2010


Hi everyone!

I want to plot some precipitation data via plot(type="h"). Unfortunately there
is always a gap between the bars and the x-axis, so that the bars reach in the
"negative area" below 0 at the y-axis, which is very misleading. The
ylim-parameter is set to 0 and max of precipitation, the min value of
precipitation is 0 as well.
I tried to fix this via the fig parameter, but I have no idea how to do it at
all. 
I hope anyone can help.

Thanks a lot,

Sebastian



More information about the R-help mailing list