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

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

[Octave-bug-tracker] [bug #50094] 2 more legend bugs


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #50094] 2 more legend bugs
Date: Wed, 18 Dec 2019 09:56:17 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #15, bug #50094 (project octave):

@Muhali: What I am saying is that I couldn't find a situation where it was not
the actual size, in screen pixels, that fixed the size of the legend. The
following script produces two identically overcrowded figures for me: 


n = 30;

hf1 = figure ("units", "normalized", ...
              "position", [0.682   0.702   0.25   0.25])
plot (randn (4, n), "k");
legend(datestr (now + (1:n)), "location", "northoutside", ...
                "numcolumns", 4);
print (hf1, "normalized.png")

hf2 = figure ("units", "normalized", ...
              "position", [0.682   0.702   0.25   0.25], ...
              "units", "pixels")
plot (randn (4, n), "k");
legend(datestr (now + (1:n)), "location", "northoutside", ...
                "numcolumns", 4);
print (hf2, "pixels.png")



Does this produce two different figures for you? 

I attached the resulting png figures, which I obtained on a laptop with a
small screen. Those are different from what I see onscreen, even more
overcrowded, but this is yet another bug (bug #45600).

(file #48083, file #48084)
    _______________________________________________________

Additional Item Attachment:

File name: normalized.png                 Size:25 KB
    <https://savannah.gnu.org/file/normalized.png?file_id=48083>

File name: pixels.png                     Size:26 KB
    <https://savannah.gnu.org/file/pixels.png?file_id=48084>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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