|
From: | David Bateman |
Subject: | Re: 'paperpositionmode' change to rid gnuplot_set_term: size is zero |
Date: | Sat, 03 Jan 2009 22:24:04 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.17 (X11/20081018) |
Ben Abbott wrote:
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.On Jan 3, 2009, at 2:45 PM, Michael Goffioul wrote:On Sat, Jan 3, 2009 at 1:06 PM, Ben Abbott <address@hidden> 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 = manualSo 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.
D. -- David Bateman address@hidden 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob)
[Prev in Thread] | Current Thread | [Next in Thread] |