backFitRaster {timeLineGraphics}R Documentation

backFitRaster

Description

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

Usage

backFitRaster(y2x, maxy, ymargin)

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)

Value

numerical x size of raster image

Examples

backFitRaster(1.333,10,.05)

[Package timeLineGraphics version 1.0 Index]