Skip to content
Prev 343218 / 398513 Next

Making my own graphics device

On Aug 17, 2014, at 2:35 PM, Paul Murrell wrote:

            
It may be useful to look at existing interfaces to an HPGL device in other graphics applications. One such application is xgraph and here is the C code for one implementation:

http://xgraph.sourcearchive.com/documentation/12.1-3/hpgl_8c-source.html

The other option might be to enlist an external program such as GNUPLOT that has an HPGL output and use it as a driver to which you send an image in a file format that R can produce.