ez.pdfon: wrapper of 'pdf', direct all plotting to a pdf file(s)

ez.pdfonR Documentation

wrapper of pdf, direct all plotting to a pdf file(s)

Description

wrapper of pdf, direct all plotting to a pdf file(s)

Usage

ez.pdfon(
  file = if (onefile) "Rplots.pdf" else "Rplot%03d.pdf",
  width,
  height,
  onefile,
  family,
  title,
  fonts,
  version,
  paper,
  encoding,
  bg,
  fg,
  pointsize,
  pagecentre,
  colormodel,
  useDingbats,
  useKerning,
  fillOddEven,
  compress
)

Note

additionally one can use embed_fonts to embed fonts after dev.off()

See Also

ez.export ez.pdfoff

Examples

A4:     width 7(inches) height = 5
Letter: 8.5 x 11
ez.pdfon("Living_All.pdf",width=10,height=10,onefile=T)
ez.plot(jd.result,"ageout_rural|group")
ez.plot(jd.result,"n_rural|group")
ez.pdfoff()

jerryzhujian9/zmisc documentation built on March 9, 2024, 12:49 a.m.