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


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

Color facets with pm3d

From Michel Lestrade <michel.lestrade@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Color facets with pm3d
Date 2011-08-08 13:30 -0700
Organization http://groups.google.com
Message-ID <7877a6bf-81b6-4312-a55c-2fb3d5de7b5c@y19g2000pre.googlegroups.com> (permalink)

Show all headers | View raw


I am trying to follow the instructions of the FAQ (sec. 3.14) but the
output colors don't seem to match what I defined in my input file:

 1.46063E-01 5.56796E-01 0.00000E+00 0x00FF95
 1.82392E-01 5.82874E-01 0.00000E+00 0x00FF95

 1.46540E-01 5.87264E-01 0.00000E+00 0x00FF95
 1.46540E-01 5.87264E-01 0.00000E+00 0x00FF95


 2.12062E-01 5.61712E-01 0.00000E+00 0x00FF8F
 1.82392E-01 5.82874E-01 0.00000E+00 0x00FF8F

 1.75083E-01 5.47501E-01 0.00000E+00 0x00FF8F
 1.75083E-01 5.47501E-01 0.00000E+00 0x00FF8F

Both triangles should be a different shade of green but I get 1 yellow
triangle and 1 black triangle.I tried using various terminals
(pdfcairo, wxt and png) using version 4.4p3 on Windows.

The plotting instructions are as per the FAQ (splot) but it seems like
pm3d is using my color definition as the z-axis and doing lookups in
its color palette rather than displaying each facet with an
independent color like I want. This would explain why I get yellow and
black triangles: opposite ends of default palette.

Can anyone suggest the right syntax to do this ?

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar


Thread

Color facets with pm3d Michel Lestrade <michel.lestrade@gmail.com> - 2011-08-08 13:30 -0700

csiph-web