|
From: Petr M. <mi...@ph...> - 2005-03-23 08:52:58
|
> If what you want is to have all contours the same color, > then the obvious syntax would be something like > set contour samecolor > > although surely there must be a better keyword. >No "would be" needed --- this already exists, and it's called > > unset clabel Wow, I never used that! That's even not in any demo! >Yes, that *is* definitely one of the top two contestants of most silly >option name in all of gnuplot --- the other being 'set ticslevel'. Indeed! > > 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? > > I suppose it's a bug, although I honestly don't know what the > expected behaviour would be. If you start a contour series with > a fixed linetype then it auto-increments line types (colors) for > successive contour levels, right? But if you start it off with > an arbitrary color, as you did with 'lc rgb "#foo"', then how > should it determine the color of the next contour level? I think it should not cycle colors at all, and stay with the same color (aka "unset clabel"). Strange -- in this script, the bug shows up again: set contour set cntrpar levels 30 unset clabel splot x*x-y*y with line lt 1 splot x*x-y*y with line lc rgb "#000000" --- PM |