View source: R/timeLineGraphics.R
backFitRaster | R Documentation |
given a maximum vertical size in inches that is allowable, find x size of raster image
backFitRaster(y2x, maxy, ymargin)
y2x |
is original aspect ratio of image |
maxy |
is max vertical size in inches |
ymargin |
is fraction of maxy to leave as top and bottom margin |
graph units<-yinch(y in inches)
numerical x size of raster image
backFitRaster(1.333,10,.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.