[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch(...) swallows tick marks
From: |
Michael Goffioul |
Subject: |
Re: patch(...) swallows tick marks |
Date: |
Wed, 12 Dec 2007 14:19:28 +0100 |
On 12/12/07, kahacjde <address@hidden> wrote:
>
>
> Matthias Brennwald (bwm) wrote:
> >
> > Dear all
> >
> > If I plot a patch that extends to the axes of a plot, the tick marks get
> > covered by the patch. A simple example to illustrate this effect is:
> >
> > ------------------
> > clf
> > patch ([5.5 10 10 5.5],[1 1 10 10],'r'); hold on
> > plot(1:10)
> > ------------------
> >
> > Is there a way to make the tick marks visible again?
> >
> > (I have Octave 2.9.18 with gnuplot 4.2)
> >
> > Matthias
> >
>
> Hello,
>
> with matlab I see the same behavior - the patch is plotted above the grid
> and tick marks.
In Matlab, you would do a
set(gca, 'Layer', 'top')
to see the tick marks again (only in 2D mode). This is supported in JHandles
plot backend.
Michael.