|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-03 16:26:02
|
On Sunday, 03 March 2013, Theo wrote: > Hi all, > > for generating plots I typically use wxt, png (or pdf) terminals. > There are quite some differences between the two outputs in appearance > (certainly for some good reasons which I do not know). There are two png terminals. "set term png" uses the external graphics library gd to draw. This same external library is used to create jpeg or gif output, so the png/jpeg/gif plots created by gnuplot+gd look very much alike. "set term pngcairo" uses the cairo graphics library. The cairo library is also used for wxt and pdf generationg, so plots output by the pngcairo/wxt/pdf terminals are similar. If gnuplot is built without using the gd library then there it provides only the pngcairo terminal, and because there in this case there is no ambiguity this is what you get when you say "set term png". But from your description it seems your copy of gnuplot has both png+gd and png+cairo terminals. > With png I also tried option 'truecolor'. The 'truecolor' option only affects the gd-based png terminal. > Comparing png-Output and wxt-Output side by side I clearly prefer the wxt. > So, what I do is using the 'copy to clipboard' button in the wxt window > menubar, copy it to an image program and save it as a PNG to disk. > > Isn't there a way to directly save the wxt output as png? > Or is there a way to make the png look (exactly) like the wxt? Try 'set term pngcairo' and 'replot'. Ethan |