Re: [Jprogramming] Programmatic way to save plot images

2020-04-01 Thread R.E. Boss
Same result here, Win10. R.E. Boss > -Oorspronkelijk bericht- > Van: Programming > Namens David Mitchell > Verzonden: dinsdag 31 maart 2020 23:40 > Aan: [email protected] > Onderwerp: Re: [Jprogramming] Programmatic way to save plot images > > Sorry, I

Re: [Jprogramming] Programmatic way to save plot images

2020-03-31 Thread Devon McCormick
load 'plot' pd +"0/~1 o. i:6j99 [ pd 'type surface' [ pd 'reset' pd 'show cairo 1000 1000'NB. This opens a "plot.pdf" file pd 'save png testPNG5.png' First display an isigraph Plot. On Tue, Mar 31, 2020 at 5:39 PM David Mitchell wrote: > Sorry, I did not include all the com

Re: [Jprogramming] Programmatic way to save plot images

2020-03-31 Thread David Mitchell
Sorry, I did not include all the commands: load 'plot' pd +"0/~1 o. i:6j99 [ pd 'type surface' [ pd 'reset' pd 'show cairo 1000 1000' pd 'save png testPNG5.png' dir'*5.png' testPNG5.png 125466 31-Mar-20 17:38:52 On 3/31/2020 16:48, Devon McCormick wrote: This is what I see:

Re: [Jprogramming] Programmatic way to save plot images

2020-03-31 Thread Devon McCormick
This is what I see: load 'plot' pd +"0/~1 o. i:6j99 [ pd 'type surface' [ pd 'reset' pd 'save png testPNG4.png 1000 1000' First display an isigraph Plot. Is this affected by the global settings in the "j" namespace for "ImageViewer", "PDFReader", and "EPSReader"? On Tue, Mar 31, 2020 at

Re: [Jprogramming] Programmatic way to save plot images

2020-03-31 Thread David Mitchell
The 1000 1000 parameters are not used for png, as far as I can tell. https://code.jsoftware.com/wiki/Plot/Commands 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 genera

Re: [Jprogramming] Programmatic way to save plot images

2020-03-31 Thread David Mitchell
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 ther

[Jprogramming] Programmatic way to save plot images

2020-03-31 Thread Devon McCormick
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 manua