Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #538

strange palette behavior for postscript terminal

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!s2g2000vby.googlegroups.com!not-for-mail
From Lucie Jilkova <jilkoval@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject strange palette behavior for postscript terminal
Date Tue, 16 Aug 2011 20:41:53 -0700 (PDT)
Organization http://groups.google.com
Lines 41
Message-ID <277f6950-6b07-40a2-b9d2-c8110d17bb76@s2g2000vby.googlegroups.com> (permalink)
NNTP-Posting-Host 186.105.69.84
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1313552514 21742 127.0.0.1 (17 Aug 2011 03:41:54 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Wed, 17 Aug 2011 03:41:54 +0000 (UTC)
Cc skalicky@physics.muni.cz
Complaints-To groups-abuse@google.com
Injection-Info s2g2000vby.googlegroups.com; posting-host=186.105.69.84; posting-account=kj9GPwoAAACtiEUrmwzq8Vv9cp8RwmRO
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALESNKRC
X-HTTP-UserAgent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090909 Fedora/3.5.3-1.fc11 Firefox/3.5.3,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:538

Show key headers only | View raw


Hello,

i've got a problem with (probably) a palette settings using postscript
terminal. I'm plotting a 2D map and i want to set a palette so that
all bins with values equal to 0.0 are mapped by white color, and all
the other (non-zero) values by some different color.

I'm using Version 4.4 patchlevel 3 @ System: Linux
2.6.30.8-64.fc11.i586. The example minimal script could be as
following:

#####
reset
set view map
set palette model RGB defined (0.0 "white", 0.0 "white", 0.0 "blue",
1.0 "blue")
set term  postscript
set output 'map.eps'
splot '-' w image
0 0 0.0
0 1 0.1
0 2 0.01
1 0 0.001
1 1 0.0001
1 2 0.001
2 0 0.01
2 1 0.1
2 2 1.0
e
unset output
set term wxt
reset
####

So there should be one white bin at [0,0] and the rest of bins blue.
But the output 'map.eps' shows more than one white bin... For wxt or
pdfcairo terminal the similar script works well. Please, does anybody
have an idea?

Thanks!
Lucie

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

strange palette behavior for postscript terminal Lucie Jilkova <jilkoval@gmail.com> - 2011-08-16 20:41 -0700
  Re: strange palette behavior for postscript terminal Christoph Bersch <usenet@bersch.net> - 2011-08-17 09:18 +0200
    Re: strange palette behavior for postscript terminal Lucie Jilkova <jilkoval@gmail.com> - 2011-08-17 06:51 -0700
  Re: strange palette behavior for postscript terminal sfeam <sfeam@users.sourceforge.net> - 2011-08-17 08:49 -0700
    Re: strange palette behavior for postscript terminal Lucie Jilkova <jilkoval@gmail.com> - 2011-08-17 15:44 -0700

csiph-web