[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60433] legend with gnuplot
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #60433] legend with gnuplot |
Date: |
Wed, 21 Apr 2021 17:00:31 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?60433>
Summary: legend with gnuplot
Project: GNU Octave
Submitted by: nrjank
Submitted on: Wed 21 Apr 2021 05:00:29 PM EDT
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Nicholas Jankowski
Originator Email:
Open/Closed: Open
Release: 6.2.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Apologies if this overlaps any of the other gnuplot legend bugs. A search
didn't show any that appeared to match. Apologies if this is a missed
duplicate.
Following on a question over in StackOverflow [1], there is a plotting bug
that only occurs with gnuplot, where the legend is improperly sized depending
(seemingly) only on whether the text is uppercase. it appears to size the
legend based on lowercase text. A simple test case:
plot([1 2 3],[4 5 6], 'DisplayName','thisisaverylongname');legend
figure
plot([1 2 3],[4 5 6], 'DisplayName','THISISAVERYLONGNAME');legend
produces the attached image
(file gnuplot_simplelabellengthtest.png)
Note that if a lower case name the same length as the upper case name above
has the legend box the correct size. (e.g., "thisisaverylongname1234" takes
about the same amount of space on the screen as "THISISAVERYLONGNAME", but the
former has a larger legend to accommodate it while the latter does not.
[1]
https://stackoverflow.com/questions/64986635/octave-box-legend-not-proper-width-with-upper-case-text
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 21 Apr 2021 05:00:29 PM EDT Name: gnuplot_simplelabellengthtest.png
Size: 30KiB By: nrjank
<http://savannah.gnu.org/bugs/download.php?file_id=51302>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60433>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60433] legend with gnuplot,
Nicholas Jankowski <=