Learn R Programming

wrGraph (version 1.3.8)

.determFigMargPix: Estimate size/distance of margin to edge of image (png) in pixels

Description

This function allows estimating size/distance of margin to edge of image (png) in pixel and return numeric vector.

Usage

.determFigMargPix(marg, res, callFrom = NULL, silent = FALSE, debug = FALSE)

Value

This function returns a numeric vetctor matrix with (estimated) distance to figure margins in pixels

Arguments

marg

(numeric) distance of margin in inch (as given in par(mar=c( )))

res

(numeric, length=1) resolution of image (png)

callFrom

(character) allows easier tracking of messages produced

silent

(logical) suppress messages

debug

(logical) additonal messages for debugging

See Also

convertPlotCoordPix, mouseOverHtmlFile

Examples

Run this code
.determFigMargPix(c(5,4,4,2),100)

Run the code above in your browser using DataLab