Learn R Programming

timeLineGraphics (version 1.0)

backFitRaster: backFitRaster

Description

given a maximum vertical size in inches that is allowable, find x size of raster image

Usage

backFitRaster(y2x, maxy, ymargin)

Value

numerical x size of raster image

Arguments

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

Details

graph units<-yinch(y in inches)

Examples

Run this code
backFitRaster(1.333,10,.05)

Run the code above in your browser using DataLab