[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35090] setting "text" function using normaliz
From: |
Michael Krause |
Subject: |
[Octave-bug-tracker] [bug #35090] setting "text" function using normalized coordinates erases data from figure |
Date: |
Fri, 16 Dec 2011 16:46:36 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 |
URL:
<http://savannah.gnu.org/bugs/?35090>
Summary: setting "text" function using normalized coordinates
erases data from figure
Project: GNU Octave
Submitted by: seektime
Submitted on: Fri 16 Dec 2011 04:46:35 PM GMT
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: Microsoft Windows
_______________________________________________________
Details:
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')
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35090>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35090] setting "text" function using normalized coordinates erases data from figure,
Michael Krause <=