|
| From: | anonymous |
| Subject: | [Octave-bug-tracker] [bug #54693] Qt/FLTK - export as PNG - wrong image size and aspect ratio |
| Date: | Wed, 19 Sep 2018 10:43:32 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 |
URL:
<https://savannah.gnu.org/bugs/?54693>
Summary: Qt/FLTK - export as PNG - wrong image size and
aspect ratio
Project: GNU Octave
Submitted by: None
Submitted on: Wed 19 Sep 2018 02:43:30 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: aj
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.1
Operating System: Any
_______________________________________________________
Details:
Exporting a figure from Qt/FLTK results in an image with incorrect size and
aspect ratio. This does not seem to happen with Gnuplot.
Tested on Arch Linux and Windows 7 with Octave 4.4.1.
Example code is shown below and example results (exported images and
screenshots) have been attached. Qt and FLTK seem to produce identical
results.
xdata=[0:0.01:4*pi];
ydata=sin(xdata);
plot(xdata,ydata);
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 19 Sep 2018 02:43:30 PM UTC Name: plot_image_FLTK.png Size: 16KiB
By: None
<http://savannah.gnu.org/bugs/download.php?file_id=45051>
-------------------------------------------------------
Date: Wed 19 Sep 2018 02:43:30 PM UTC Name: plot_image_Gnuplot.png Size:
7KiB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=45052>
-------------------------------------------------------
Date: Wed 19 Sep 2018 02:43:30 PM UTC Name: plot_image_FLTK_screenshot.png
Size: 25KiB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=45053>
-------------------------------------------------------
Date: Wed 19 Sep 2018 02:43:30 PM UTC Name: plot_image_Gnuplot_screenshot.png
Size: 40KiB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=45054>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54693>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |