|
From: <lud...@la...> - 2006-12-06 09:45:12
|
Hi, I'm plotting several surfaces with `splot' on a single graph. I would like to color those surfaces, or the lines that make them up, according to what they represent (i.e., not according to their height, as `pm3d' does). IOW, I would like to have each surface painted with its own color. In color PostScript output, this is what happens by default. However, in black & white PostScript, GNUplot automatically uses variants of dashed and dotted lines instead of colored lines, which I would like to avoid. Specifying `with palette' (and having a single-color palette) doesn't do the trick since there can be only one palette at a time, for all surfaces. Any idea? Thanks, Ludovic. |
|
From: <HBB...@t-...> - 2006-12-06 19:22:23
|
Ludovic Courtès wrote: > In color PostScript output, this is what happens by default. So why don't you just use that? > However, in black & white PostScript, GNUplot automatically uses > variants of dashed and dotted lines instead of colored lines, which I > would like to avoid. Well, then don't use black&white PostScript. What colour did you expect your black&white PostScript printer to be able to print? |
|
From: <lud...@la...> - 2006-12-07 09:16:53
|
Hi, Hans-Bernhard Bröker <HBB...@t-...> writes: > Well, then don't use black&white PostScript. What colour did you expect > your black&white PostScript printer to be able to print? Well, we never know. ;-) Seriously, I'm just not used to inserting colored figures in a b&w document, and I thought it might be possible to tweak GNUplot into doing it. Besides, how does "with boxes" work with `splot'? I fail to understand how it connects point together. Or is it just supposed to be used with `plot'? Thanks, Ludovic. |
|
From: <HBB...@t-...> - 2006-12-08 21:37:18
|
Ludovic Courtès wrote: > Seriously, I'm just not used to inserting colored figures in a b&w > document, and I thought it might be possible to tweak GNUplot into doing > it. Doing _what_, exactly? I think you've completely confused not just me, but yourself, by now. Forget about the document, and think about the plots by themselvs. What do you want: coloured plots, or b&w ones? If b&w, how do you suppose a reader will be able to tell apart the curves for different datasets in the same plot? Why is set term postscript eps enh mono dashed _not_ what you want? > Besides, how does "with boxes" work with `splot'? Fine if what you really wanted was 'with impulses' --- not at all, otherwise. |
|
From: <lud...@la...> - 2006-12-10 09:37:25
|
Hi, Hans-Bernhard Bröker <HBB...@t-...> writes: > splot doesn't do boxes, so there's nothing to be said about how those > boxes might be generated. Thanks, that's exactly what I asked for a few messages ago (<87f...@la...>). Ludovic. |
|
From: <lud...@la...> - 2006-12-09 11:28:19
|
Hi, Hans-Bernhard Br=F6ker <HBB...@t-...> writes: > Forget about the document, and think about the plots by themselvs. > What do you want: coloured plots, or b&w ones? If b&w, how do you > suppose a reader will be able to tell apart the curves for different > datasets in the same plot? Why is > > set term postscript eps enh mono dashed > > _not_ what you want? Sometimes, when you have few curves, you may want to use solid lines with different levels of gray rather than a mixture of solid, dashed, and dotted lines. Is that clearer? >> Besides, how does "with boxes" work with `splot'? > > Fine if what you really wanted was 'with impulses' --- not at all, > otherwise. Sorry, I don't understand this. More precisely: How does GNUplot connect points together when using "with boxes" in `splot'? I have splots here with nice grids when I use "with lines" but changing it to "with boxes" yields unreadable plots. Thanks, Ludovic. |
|
From: <HBB...@t-...> - 2006-12-09 20:50:30
|
Ludovic Courtès wrote:
> Sometimes, when you have few curves, you may want to use solid lines
> with different levels of gray rather than a mixture of solid, dashed,
> and dotted lines. Is that clearer?
So use the 'linecolour' directive available in recent versions (release
candidates, CVS head) to pick grays for your lines.
>>> Besides, how does "with boxes" work with `splot'?
>> Fine if what you really wanted was 'with impulses' --- not at all,
>> otherwise.
> Sorry, I don't understand this.
You would have, if you had read any of the relevant documentation. 'help
splot', for starters, has a statement containing this phrase:
except that the plotting styles available to splot are limited to
splot doesn't do boxes, so there's nothing to be said about how those
boxes might be generated.
|