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


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

Re: strange palette behavior for postscript terminal

From Lucie Jilkova <jilkoval@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: strange palette behavior for postscript terminal
Date 2011-08-17 15:44 -0700
Organization http://groups.google.com
Message-ID <2c53dea0-67fa-470c-8e97-336cc75554e2@df3g2000vbb.googlegroups.com> (permalink)
References <277f6950-6b07-40a2-b9d2-c8110d17bb76@s2g2000vby.googlegroups.com> <j2go09$nmp$1@dont-email.me>

Show all headers | View raw


@ sfeam: thanks for your suggestion, but the matrix i gave was just an
minimal example. For my actual data, i need a more complicated palette
for the nonzero values... so far, it seems fine with using the
pdfcairo terminal.

On Aug 17, 11:49 am, sfeam <sf...@users.sourceforge.net> wrote:
>
> It seems that you really want a 2D plot command and something other
> than palette-based coloring.
>
> How about something like
>
> set style data rgbimage
> ###################### red component ####   green #########   blue
> plot '-' using 1:2:( ($3>0) ? 0 : 255 ):( ($3>0) ? 0 : 255):(255)
>
>
>

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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