|
From: Ethan M. <merritt@u.washington.edu> - 2011-09-03 16:52:53
|
On Saturday, 03 September 2011, Mojca Miklavec wrote:
> Dear list,
>
> I would like to know if there is any trick to create a lot of PNG
> images without calling "set output ..." for each of them.
>
> If I use gnuplot with PostScript, PDF, any TeX-based on any
> interactive terminal, I get all the plots without having to call set
> output for each of them.
The PNG standard has no provision for multiple images in a single
output file. There is a variant format MNG that does, but it has
never caught on.
The only "trick" I can think of is to do
gnuplot> set term gif animate nooptimize
gnuplot> set output 'all-in-one.gif'
and then afterwards split out all the individual image frames
into separate png images.
[1] convert all-in-one.gif image.png
[2] ls *.png
image-0.png image-1.png image-2.png
Ethan
>
> I would like to be able to set something like
> set output pattern "filename-%03d.png"
> and then just call "plot" without having to worry about filenames.
>
> (Writing a script to generate plots is not an option and auto-insert
> "set output" is not an option.)
>
> Have there ever been any plans about such functionality?
>
> Thank you,
> Mojca
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
|