[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35857] Octave crashes when plotting with unit
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #35857] Octave crashes when plotting with units = normalized |
Date: |
Thu, 19 Feb 2015 12:27:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #7, bug #35857 (project octave):
Hi,
@Rik: the crash also occurs for me with absolute coordinates such as
"centimeters". The "units" property is supposed to be used for interpreting
the position, not the size of the text object.
I still don't know why but it is related to deleting/recreating labels and
title when using newplot function on an axes object that has "nextplot" =
"replace".
The following doesn't crash Octave but doesn't set the expected units neither.
set(0, "defaulttextunits", "normalized") ;
axes (); hold on;
plot(0.05*[0 1]);
yl = ylabel ("foo");
get (yl, "units") ##-> "data"
Now another question is whether default text object properties should be
applied to axes labels and titles. Those object are not meant to be
manipulated the same way as regular text objects. What if someone changes the
"defaulttextposition" ... I'll check this in Matlab at work.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35857>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/