[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43067] wrong legend position (either after mu
From: |
H. G. |
Subject: |
[Octave-bug-tracker] [bug #43067] wrong legend position (either after multiline title or in subplots) |
Date: |
Mon, 25 Aug 2014 16:23:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 |
URL:
<http://savannah.gnu.org/bugs/?43067>
Summary: wrong legend position (either after multiline title
or in subplots)
Project: GNU Octave
Submitted by: hardy
Submitted on: Mo 25 Aug 2014 16:23:11 GMT
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.2
Operating System: Any
_______________________________________________________
Details:
Here is a short sample that shows the behavior:
graphics_toolkit('fltk');
close all;
figure(1);
plot(1:10);
legend('legend A');
title({'line 1','line 2'});
figure(2);
subplot(2,1,1);
plot(1:10);
legend('legend B'); % will be misplaced
title({'line 1','line 2'});
subplot(2,1,2);
plot(1:10);
legend('legend C');
title({'line 1','line 2'});
With the fltk plotting frontend the "Legend B" will be displaced by a lot,
compared to the other two legends. I would say it's placed wrong. This happens
on Linux as well as on Windows (MXE).
Addidtionally "legend A" also seems to be a bit off the right position.
With gnuplot as well as with Matlab all three legends are positioned in a
similar manner inside the box, and look fine to me.
If you make the title a one line object, then it looks much better. Then, only
legend B (in the subplot) is off position.
Also the order of calling "title" and "legend" seems to be important. If you
swap those function calls, the result looks totally fine.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43067>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #43067] wrong legend position (either after multiline title or in subplots),
H. G. <=