[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57743] property position returns wrong value,
From: |
vasiliy |
Subject: |
[Octave-bug-tracker] [bug #57743] property position returns wrong value, printing is wrong |
Date: |
Tue, 4 Feb 2020 16:29:31 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?57743>
Summary: property position returns wrong value, printing is
wrong
Project: GNU Octave
Submitted by: vasiliy22
Submitted on: Вт. 04 февр. 2020 21:29:29
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: GNU/Linux
_______________________________________________________
Details:
If xlabel and/or ylabel are not empty, the position property of axis is wrong.
So it turns out impossible to recalculate plot coorinates into normalized
figure coordinates.
Example:
>> plot([0 0], [1 1]);
>> get(gca, "position")
ans =
0.13000 0.11000 0.77500 0.81500
>> xlabel("x");
>> ylabel("y");
>> get(gca, "position")
ans =
0.13000 0.11000 0.77500 0.81500
>>set(gcf, "papersize", [4 4], "paperposition", [0 0 4 4]);
>>print("figure3.tex", "-dpdflatexstandalone");
the plot window looks good, the bug can be seen after printing
the result is the same, despite the plot window was shrinked.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Вт. 04 февр. 2020 21:29:29 Name: figure3.pdf Size: 47КиБ
By: vasiliy22
<http://savannah.gnu.org/bugs/download.php?file_id=48348>
-------------------------------------------------------
Date: Вт. 04 февр. 2020 21:29:29 Name: figure3-inc.pdf Size: 14КиБ
By: vasiliy22
<http://savannah.gnu.org/bugs/download.php?file_id=48349>
-------------------------------------------------------
Date: Вт. 04 февр. 2020 21:29:29 Name: figure3.tex Size: 2КиБ By:
vasiliy22
<http://savannah.gnu.org/bugs/download.php?file_id=48350>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57743>
_______________________________________________
Сообщение отправлено по Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #57743] property position returns wrong value, printing is wrong,
vasiliy <=