bugGNU Octave - Bugs: bug #35090, setting "text" function...

 
 

bug #35090: setting "text" function using normalized coordinates erases data from figure

Submitter:  Michael Krause <seektime>
Submitted:  Fri 16 Dec 2011 04:46:35 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.2.4 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 25 Feb 2012 05:58:36 PM UTC, comment #2: 

3.6.1 has just been released which includes the fix for this bug.  Please upgrade to the new version.

Rik <rik5>
Group administrator
Mon 19 Dec 2011 02:43:43 AM UTC, comment #1: 

This has been fixed in the development code which is going to be release as version 3.6.0 in December 2011 (this month).  There will be some delay, especially for the Windows platform, in packaging the new release.  But upgrading will definitely solve this.

Rik <rik5>
Group administrator
Fri 16 Dec 2011 04:46:35 PM UTC, original submission:  

Find below an example that illustrates my findings.

There are also two other observations but I don't provide code for it. (i) The
'latex' value in the 'interpreter' property of the text
function doesn't work either in my case. (ii) If I don't set the 'units' property is plots the text; however, the y-labels are offset to the left in my 1x5 subplot.
 
All this wasn't a problem in version 3.2.4 on my system.
(MinGW, Win XP ver, 2002, SP3, Intel Core2Duo, T9400).

-----
EXAMPLE CODE:



% plot some data
x=[1 2 3]';
y=sin(x);
plot(x,y)

% add text to the plot; this works...
text(1.5,0.9,'hallo')

figure
plot(x,y)
% ...this works, too
text(1.5,0.9,'hallo')
text(0.5,0.5,'hallo','units','normalized')

% ... and here comes the bug:
figure
plot(x,y)
% ... because now the data disappear after executing the
% text command
text(0.5,0.5,'hallo','units','normalized')


Michael Krause <seektime>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by seektime (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-25 rik5 Open/ClosedOpen Closed
    2011-12-19 rik5 StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code