'paperpositionmode' change to rid gnuplot_set_term: size is zero

David Bateman dbateman at dbateman.org
Sat Jan 3 15:24:04 CST 2009


Ben Abbott wrote:
>
> On Jan 3, 2009, at 2:45 PM, Michael Goffioul wrote:
>
>> On Sat, Jan 3, 2009 at 1:06 PM, Ben Abbott <bpabbott at mac.com> wrote:
>>> set (0, "defaultaxesxtick", [0:0.2:1])
>>> set (0, "defaultaxesytick", [0:0.2:1])
>>> set (0, "defaultaxesztick", [0:0.2:1])
>>> set (0, "defaultaxesxtickmode", "auto")
>>> set (0, "defaultaxesytickmode", "auto")
>>> set (0, "defaultaxesztickmode", "auto")
>
> I was under the impression "auto" is needed since setting the tick's 
> changed the mode to "manaul". Checking now ...
>
> octave:1> figure
> octave:2> axes
> octave:3> get(gca,'xtickmode')
> ans = manual
>
> So it does appear that x/y/ztick each have a callback associated with 
> them and that is it doing its job even in a context where it should 
> not (at least I don't think setting the default should trigger a 
> callback in this instance) ... hmmm, It appears that a method is 
> needed to toggle callbacks on and off.
You can either make the callback more intelligent to recognize when it 
shouldn't do anything or remove it with the dellistener function. I'm 
not sure I understand what your issue is however.

D.

-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Octave-maintainers mailing list