Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Gnuplot 4.4.3 Palette error Followup-To: comp.graphics.apps.gnuplot Date: Thu, 03 Nov 2011 10:11:49 -0700 Organization: gnuplot development team Lines: 24 Message-ID: References: <9e0f3065-18e1-4227-9822-700703130b75@g1g2000vbd.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Thu, 3 Nov 2011 17:11:52 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="5176"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+N2ZDwjiljn1DC33uzfh80" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:EyFupP6ijmglWyJdlbLQ19cdMZ4= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:663 Vasilis wrote: > Gnuplot 4.4.3 shows an error when the palette is defined manually, > like the commands below. It mixes some colors instead of showing a > nice rainbow palette > While all previous versions 4.4.2 and below do not show this error. I do not notice any difference in the output of 4.4.2 and 4.4.3 when viewing the output of the commands below in the wxt terminal. Perhaps the difference was too subtle for me to recognize, or perhaps it is terminal dependent? What terminal type were you using that produced an error? > set pm3d map explicit > set palette defined ( 1. 1.0 1.0 1.0, 2. 0.9 0.6 0.9, 3. 1.0 0.4 > 1.0, 4. 0.9 0.0 1.0, 5. 0.7 0.0 1.0, 6. 0.5 0.0 0.8, 7. 0.0 0.0 > 0.8, 8. 0.0 0.0 1.0, 9. 0.0 0.6 1.0,10. 0.0 0.8 1.0, 11. 0.0 0.7 > 0.5, 12. 0.0 0.9 0.2,13. 0.5 1.0 0.0, 14. 0.8 1.0 0.0, 15. 1.0 1.0 > 0.0,16. 1.0 0.8 0.0, 17. 1.0 0.5 0.0, 18. 1.0 0.0 0.0,19. 0.8 0.0 0.0, > 20. 0.6 0.0 0.0, 21. 0.0 0.0 0.0 ) > set palette maxcolors 30 > splot cos(sqrt(x*x+y*y))/sqrt(x*x+y*y+0.1)