octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49621] Custom yticklabels lead to wrongly pla


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #49621] Custom yticklabels lead to wrongly placed annotations when figure is maximized
Date: Mon, 21 Nov 2016 13:50:53 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #4, bug #49621 (project octave):

@Dmitry: 
* comment #2: the answer is yes but you have to do it yourself (ML doesn't
provide such option builtin, neither does Octave). You may want to look at
"demo annotation 6" for how to map annotation coordinates to axes coordinates.
Then you'll have to use "addlistener" function to change your annotation
position when either the figure or the axes "position" property changes
* comment #3: I meant that this is how it works in ML and in Octave. Now I
don't pretend that this is simple to understand when you don't understand the
background as much as I do. Could you suggest an improvement of the
documentation to make it clear that annotation an axes coordinate systems are
different and that one should not expect annotations and axes objects to stay
aligned on figure/axes size changes? 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49621>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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