Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bring key box to front when using filledcurves

797 views
Skip to first unread message

Stefan Nowy

unread,
Nov 3, 2009, 4:40:47 PM11/3/09
to
Hi!

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

sfeam

unread,
Nov 3, 2009, 7:30:54 PM11/3/09
to
Stefan Nowy wrote:


This is not possible.
But you can move the key box out of the plot area.

Stefan Nowy

unread,
Nov 4, 2009, 3:39:32 AM11/4/09
to
Hello!

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

Message has been deleted

Zoltan

unread,
Nov 4, 2009, 7:49:20 AM11/4/09
to

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

Hans-Bernhard Bröker

unread,
Nov 4, 2009, 3:54:27 PM11/4/09
to
Stefan Nowy wrote:

> 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!

sfeam

unread,
Nov 4, 2009, 4:36:02 PM11/4/09
to
Hans-Bernhard Bröker wrote:

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.

Stefan Nowy

unread,
Nov 4, 2009, 4:58:49 PM11/4/09
to
Hi!

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

Stefan Nowy

unread,
Nov 4, 2009, 5:04:48 PM11/4/09
to
Hello!

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

0 new messages