[R] HPGL or PCL plotting device? Or otherwise plotting plots

Thomas Levine _ at thomaslevine.com
Wed Jul 9 15:32:44 CEST 2014


Oh it was easier than I thought.

  postscript('project-contracts.ps')
  hist(log(projects$n.contracts))
  dev.off()

Then run this from the shell.

  pstoedit -f plot-hpgl project-contracts.ps project-contracts.hpgl

And send it to the plotter.

On 09 Jul 13:10, Thomas Levine wrote:
> Hi,
> 
> I want to print plots on a Roland DXY-1100 plotter.
> How can I do this from R? I think the easiest thing
> would be a graphics device for Printer Command
> Language or Hewlett-Packard Graphics Language, but
> I haven't managed to find any of those.
> 
> Thanks
> 
> Tom



More information about the R-help mailing list