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

.determFigMargPixR Documentation

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)

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

Value

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

See Also

convertPlotCoordPix, mouseOverHtmlFile

Examples

.determFigMargPix(c(5,4,4,2),100)

wrGraph documentation built on Oct. 20, 2023, 5:08 p.m.