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

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

[Octave-bug-tracker] [bug #44512] text extent (on plot) is gives 0 width


From: jpap
Subject: [Octave-bug-tracker] [bug #44512] text extent (on plot) is gives 0 width and height
Date: Wed, 11 Mar 2015 18:59:33 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18

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

                 Summary: text extent (on plot) is gives 0 width and height
                 Project: GNU Octave
            Submitted by: jpap
            Submitted on: Wed 11 Mar 2015 11:59:32 AM PDT
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: Mac OS

    _______________________________________________________

Details:

I'm always returned zero width/height for a text extent that's added to a
plot.

Script included below to demonstrate.


figure(1), clf;
plot(1:5);
h = text(2,2, 'jpap');
get(h, 'extent')
ans =

   2   2   0   0


Judging by #33163
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=33163>, it looks like
the extent used to work.

I'm using gnuplot 4.6p6.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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