help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch(...) swallows tick marks


From: David Bateman
Subject: Re: patch(...) swallows tick marks
Date: Wed, 12 Dec 2007 14:29:14 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Michael Goffioul wrote:
> 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.


This is why I only wish you were working on the Octave core objects
classes, with the data transfer to java layered on top... You know more
about how the graphics handles are supposed to work than anyone on the
Octave lists.

D.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]