|
From: Petr M. <mi...@ph...> - 2015-07-07 12:54:35
|
>> 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? > > Possibly, but I don't think so. It may be that libgd is limited in > terms of colors. In term/gd.trm is stated: > > /* TODO: how to recover from a multiplot with two colour pm3d maps? > They must use the same palette! Or palette size must be > restricted to certain number of colours---a new user's option > */ Old time ago, "gd" was a library for gif files only, so limited to 256 colours, and thus the reason for adding "set palette maxcolors" in gnuplot (very old "new user's option"). I think there might have been an error message like "no more available colours". Do you think that it is worth to add such a message, saying also "use option truecolor", and removing (I think mine) old TODO? --- PM |