plot: EdR Plotting (Printing) Function

Description Usage Arguments Details Value

Description

EdR.plot() prints a plot object either to the screen or to a PDF with settings that Ed likes to use.

Usage

1
	EdR.plot(plot_object, save_to_pdf, file_name_string, width, height)

Arguments

plot_object

A plot object, e.g. something returned by lattice::xyplot()

save_to_pdf

A boolean indicating whether plot_object should be printed to the screen (save_to_pdf == FALSE) or a file (save_to_pdf == TRUE)

file_name_string

Name for the output file, which should probably have a .pdf extension. Only used when save_to_pdf == TRUE.

width

Width of the figure in inches.

height

Height of the figure in inches.

Details

When saving to a PDF, automatically sets useDingbats=FALSE to prevent problems with symbols when opening the figure with Adobe Illustrator.

Value

N/A


eloch216/EdR documentation built on Jan. 5, 2020, 7:26 p.m.