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

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

[Octave-bug-tracker] [bug #57372] [wish] appearance of legend title text


From: Rik
Subject: [Octave-bug-tracker] [bug #57372] [wish] appearance of legend title text could be improved
Date: Mon, 9 Dec 2019 12:03:48 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57372 (project octave):

                 Summary: [wish] title() should work for legend objects =>
[wish] appearance of legend title text could be improved

    _______________________________________________________

Follow-up Comment #2:

Re-titling to reflect remaining issue which is that the appearance of title
text could be improved.

Right now the text is fairly far from the legend which it is labeling.  Maybe
this could be hacked by changing the "position" property of the text object.

Sample code


plot (1:10);
hl = legend ("ABC");
ht = title (hl, "Legend Title");
pos = get (ht, "position");
pos(2) += 5;
set (ht, "position", pos);


There probably also needs to be a listener on the title property which changes
the position of the legend because when the title is used it overlaps the main
axes.  See attached file leg_title.png.


(file #48028)
    _______________________________________________________

Additional Item Attachment:

File name: leg_title.png                  Size:13 KB
    <https://savannah.gnu.org/file/leg_title.png?file_id=48028>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57372>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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