Re: Set color of points in PGN term?
- From: merritt@xxxxxxxxxxxxxxxx (Ethan Merritt)
- Date: Tue, 11 Mar 2008 12:04:26 -0700 (PDT)
In article <25f77c73-d584-4e4b-a143-c6cda794c908@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
jhc0033@xxxxxxxxx <jhc0033@xxxxxxxxx> wrote:
If it is on a pre-defined scale, then it is even easier than the
general case. Set your color mapping
What do you mean by "set color mapping" and which commands in the demo
did that? Does specifying the color box do that implicitly? The
problem with using demos instead of documentation is that it's like
listening to strangers speaking Chinese - try to learn the language
from that, e.g. what does "(1)" mean? I can't look up "(" in the
help. /rant
I assume you've already refered to the documentation, which is quite
extensive. It is not reasonable to expect anyone to dump man pages
or documentation sections for you to read on the newsgroup.
I point to the demos because they give concrete examples
over and above what is in the documentation. This is particularly
true for example of color use, since the docs are not in color :-)
I suggest you start with the following sections of the documentation:
help set palette
help colorspec
All the demos mentioned use splot.
splot "my.data" lt palette
does work, but I just want a 2D plot. However, when I do
plot "my.data" lt palette
I get an error saying 2D plots can not color by Z value (huh?)
Gnuplot considers any plot with x, y, and z coordinates to be 3D,
even if you are viewing only a 2D slice or projection. So use
set view map
splot "my.data' lt palette
And yes, you can use color info in 2D plots also.
The very first demo I pointed to does exactly that:
http://gnuplot.sourceforge.net/demo_4.3/rgb_variable.html
But in this case the colors are not being generated via a
z-coordinate mapped palette.
--
Ethan A Merritt
.
- References:
- Set color of points in PGN term?
- From: jhc0033@xxxxxxxxx
- Re: Set color of points in PGN term?
- From: jhc0033@xxxxxxxxx
- Re: Set color of points in PGN term?
- From: Ethan Merritt
- Re: Set color of points in PGN term?
- From: jhc0033@xxxxxxxxx
- Set color of points in PGN term?
- Prev by Date: Re: labels..
- Next by Date: Re: misc problems
- Previous by thread: Re: Set color of points in PGN term?
- Next by thread: 2D-Plot out of a binary file
- Index(es):
Relevant Pages
|