braidPlot: Saves braid plot to pdf.

Description Usage Arguments

Description

Saves braid plot to pdf. Uses either ggsave() or pdf(), depending on the class of plot. Supports plots of class ggsave and trellis (i.e. lattice plots).

Usage

1
2
3
4
  braidPlot(braid, plotcode,
    filename = braidFilename(braid),
    width = braid$defaultPlotSize[1],
    height = braid$defaultPlotSize[2], Qid = NA)

Arguments

braid

A braid object

plotcode

A plot object (either ggplot or lattice)

filename

Filename without path. The path is obtained from the braid defaults

width

Width in inches

height

Height in inches

Qid

Optional identifying text that is used to print a message in the event the plot fails


andrie/braid documentation built on May 10, 2019, 11:18 a.m.