Hi Devon,

This worked for me:

   pd 'save png TestCairo.png 1000 1000'
   dir '*png'
TestCairo.png      125466 31-Mar-20 16:31:50

Cheers,
David

On 3/31/2020 16:11, Devon McCormick wrote:
Hi -

I have been looking at the "plot" (pd) commands for the first time in a
while and it looks like there is currently no way to generate a plot and
save it as an image file programmatically.  Is this true?

I recall in the past I was able to generate and save a large group of plots
without manual intervention.  Looking at the existing plot commands (
https://code.jsoftware.com/wiki/Plot/Commands) it seems the only output
type that allows this is "isi" (for "isigraph") which has not been
supported since J6.

Am I missing something?  Must I resort to a laborious work-around of many
manual steps to save a plot image to file?

Thanks,

Devon

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to