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

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

[Octave-bug-tracker] [bug #31575] text (..., "units", "normalized") not


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31575] text (..., "units", "normalized") not normalized
Date: Sun, 07 Nov 2010 08:59:26 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7

URL:
  <http://savannah.gnu.org/bugs/?31575>

                 Summary: text (..., "units", "normalized") not normalized
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Sun 07 Nov 2010 03:59:25 AM EST
                Category: None
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

In Octave's current sources, the commands ...


plot(0:10)
text (0.05, 0.95, 'Hello World', 'units', 'normalized')


Place the words "Hello World" at the bottom left of the plot at the data
coordinates (0.05, 0.95).

However, Matlab treats the text position coordinates as already having been
converted to the specified units. Thus, the text shows up in the upper left
corner of the axis.

When using the set command ...


set (ht, 'position', [0.05 0.95, 0.00], 'units', 'normalized')


Matlab and Octave both set the units *after* the position property has been
set.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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