Displaying 1 result from an estimated 1 matches for "max_ppt".
Did you mean:
max_pct
2010 Jan 20
2
Plot frame border to start at zero?
...like it is plotted less than zero?
The code I use to create the png files is below:
CairoPNG(PNG_file,width=1000, height=600, pointsize=14, bg="white")
opar <- par(mai = c(.8, .8, 1, .8)) # Set margins
plot(ppt,type="h",col="dark grey",ylim=c(0,max_ppt+1), lwd=6,
xlab='', ylab='', main=title, frame.plot=T, axes=F)
axis(2, col="black", las=2)
par(new=T) # R to overwrite the first plot
plot(accum, type="l", col="blue", axes=F, ylab='', xlab='', lwd=2)
axi...