|
From: Petr M. <mi...@ph...> - 2005-03-22 16:32:19
|
> .. you didn't mention the usually recommended method: doing it via 'set
> term table' to put the contours into a file, then plotting that along
> with whatever else you want, in a single 'splot' or 'plot' commands.
That's like the only well-working method to draw contours together with pm3d
and surface, and to make contours in a single-color.
Here, we miss "{no}countour" and "{no}surface" options:
set pm3d explicit
splot x+y, x*x+y*y with pm3d
set contour base
splot x+y, x*x+y*y with pm3d
unset surface
splot x+y, x*x+y*y with pm3d
=> now it suppresses even pm3d?!
> I.e. we should not need a 'nocontour' option to turn off contouring for
> one dataset as much as we need a 'contour' option to turn it *on*.
> What I'm getting at is that 'set contour' needs to be changed like we
> changed 'set pm3d' already: from a global, all-encompassing gnuplot
> state to a per-dataset processing option. We need
>
> set contour explicit
That's
>
> (off by default for backward compatibility) and
>
> splot 'file' with contours
Or
splot 'file' contours with line ...
?
I wish also an option "samecolor" or whatever... even I have tried:
set contour
set cntrpar levels 30
splot x*x-y*y with line lc rgb "#000000"
splot x*x-y*y with line lc rgb "#000000"
but it uses the whole color palette instead of a single color. Bug?
This works correctly:
splot x*x-y*y with line palette
---
PM
|