powered by
given a maximum vertical size in inches that is allowable, find x size of raster image
backFitRaster(y2x, maxy, ymargin)
numerical x size of raster image
is original aspect ratio of image
is max vertical size in inches
is fraction of maxy to leave as top and bottom margin
graph units<-yinch(y in inches)
backFitRaster(1.333,10,.05)
Run the code above in your browser using DataLab