|
From: Tatsuro M. <tma...@ya...> - 2015-07-02 06:35:03
|
----- Original Message ----- > From: sfeam > To: gnuplot-betat > Cc: tmacchant > Date: 2015/7/2, Thu 15:09 > Subject: Re: pm3dcolors demo broken > > On Wednesday, 01 July 2015 10:24:49 PM tmacchant wrote: >> In the last post I have generated the plot in wxt terminal. >> That worked correctly >> >> However, as in written web site I have re-generate it using >> >> set terminal png transparent nocrop enhanced size 450,320 font > "arial,8" >> set output 'pm3dcolors.1.png' >> load 'C:\Programs\gp510-64\demo\pm3dcolors.dem' >> set output >> >> <http://gnuplot.10905.n7.nabble.com/file/n19585/pm3dcolors.png> >> >> This is the same as on the web site. >> >> Is this a png terminal bug? > > The web site is generated using the pngcairo terminal. > > The png (libgd) terminal by default creates a file with > indexed colors, 245 colors maximum. This is not enough > to create multiple smooth palettes. To create files with > full 24-bit RGB color you must say > > set term png truecolor ... > >> Is this better to be filed into bug ticket? >> Tatsuro > > I do not think there is a bug here. > > Ethan Ok. I have confirmed that truecolor option resolve the issue on png terminal. And it is not a bug. > The web site is generated using the pngcairo terminal. I have believed so but In the page http://gnuplot.sourceforge.net/demo/pm3dcolors.html Click herefor minimal script to generate this plot And clicked here. There described. # set terminal png transparent nocrop enhanced size 450,320 font "arial,8" # set output 'pm3dcolors.1.png' g(x)=x GPFUN_g = "g(x)=x" splot g(x) So I tried to generate the plot by set terminal png transparent nocrop enhanced size 450,320 font "arial,8" set output 'pm3dcolors.1.png' The image downloaded from the web site and generated the above setting using gnuplot 5.1 is almost the same. As far as this image, the image created by png terminal with the above option but not pngcairo terminal. Anyway the page should be revised. Tatsuro |