I'm trying to plot data with filledcurves. Unfortunately, the
filledcurves are plotted in front of the key box.
Short example:
plot x**2 title "test" w filledcurves x1, 10*x title "test 2" w
filledcurves x2
How can I set the key box to be in front of all those filled curves?
(in the end I want to use the epslatex terminal)
Thanks in advance!
Stefan
This is not possible.
But you can move the key box out of the plot area.
That's a real pitty... I'm losing precious space by moving the key box
out... the interessting part is, when using epslatex at least the title
texts are printed in front of the filled curves, unfortunately not the
little colorboxes for the filled curves.
Thanks anyway!
Stefan
You can overcome this by using multiplot, first plotting whatever you
want, and then second, plotting something that's outside of your
range. That should bring the key to the front.
Cheers,
Zoltán
> That's a real pitty... I'm losing precious space by moving the key box
> out...
And, if moving it to the front makes is to make any difference at all,
getting what you ask for would mean you'll be losing even more precious
data points by making them invisible behind the key!
To be fair, he did say this was a plot with filled curves.
The data points themselves may be clear of the key box;
it's the solid fill between data line and the baseline that
causes the problem. That's a slightly different issue than
usually comes up.
It might be possible to have the code avoid filling in the key box
area when doing the solid-fill for this type of plot. I'm not sure.
Zoltan wrote:
> You can overcome this by using multiplot, first plotting whatever you
> want, and then second, plotting something that's outside of your
> range. That should bring the key to the front.
Thanks Zolt�n, that does the trick.
Greetings
Stefan
No, this is not a problem. The filled curves are big enough so that I
can move the key box to some place without rendering data invisible.
Greetings,
Stefan