graphWHR2: Computes width, height and dpi for a graph output

Description Usage Arguments Author(s)

Description

This takes information about the desired graph size (in inches or centemeters), the desired output resolution of 1x, 2x, 3x from a base of 96 dpi, and and (in the case of 3x) whether high (576 dpi) resolution should be used to determine the appropriate width, height, and res values to provide the AlteryxGraph device.

Usage

1
2
graphWHR2(inches = TRUE, in.w = 5.5, in.h = 5.75, cm.w = NULL,
  cm.h = NULL, graph.resolution = c("1x", "2x", "3x"), print.high = FALSE)

Arguments

inches

boolean indicating whether to measure dimensions in inches

in.w

the width of the plot to produce in inches.

in.h

the height of the plot to produce in inches.

cm.w

the width of the plot to produce in cm.

cm.h

the height of the plot to produce in cm.

graph.resolution

the resolution of the plot to produce as a multiple of 96dpi

print.high

whether to turn 3x into 6x (high, 576 dpi) resolution

Author(s)

Dan Putler


alteryx/AlteryxPredictive documentation built on May 12, 2019, 1:37 a.m.