[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64245] LineWidth is limited when printing in
From: |
Valdas |
Subject: |
[Octave-bug-tracker] [bug #64245] LineWidth is limited when printing in to raster image |
Date: |
Tue, 23 May 2023 16:19:08 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64245>
Summary: LineWidth is limited when printing in to raster
image
Group: GNU Octave
Submitter: zmogas
Submitted: Tue 23 May 2023 08:19:06 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 23 May 2023 08:19:06 PM UTC By: Valdas <zmogas>
This test function produces a plot with lines with various widths, and then
figure is printed to PNG and SVG files:
function p_test
close all
plot([0, 1], [0, 1], 'linewidth', 0.5, ...
[1, 2], [0, 1], 'linewidth', 1, ...
[2, 3], [0, 1], 'linewidth', 2, ...
[3, 4], [0, 1], 'linewidth', 5, ...
[4, 5], [0, 1], 'linewidth', 10, ...
[5, 6], [0, 1], 'linewidth', 20);
print ('p_test.png', ...
'-dpng', ...
'-r300');
print ('p_test.svg', ...
'-dsvg', ...
'-r300');
endfunction
The line widths in the SVG image is correct (also see rendering in the
Screenshot image), but in the PNG image the line widths is limited to a
certain value.
Line widths in a figure window also seems limited (see the screenshot of a
figure window).
If I remember correctly, in earlier versions lines were rendered in a raster
image with not width restrictions.
The Graphic toolkit is set to Qt.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 23 May 2023 08:19:06 PM UTC Name: p_test.png Size: 85KiB By:
zmogas
<http://savannah.gnu.org/bugs/download.php?file_id=54777>
-------------------------------------------------------
Date: Tue 23 May 2023 08:19:06 PM UTC Name: Screenshot_of_svg_render.png
Size: 27KiB By: zmogas
<http://savannah.gnu.org/bugs/download.php?file_id=54778>
-------------------------------------------------------
Date: Tue 23 May 2023 08:19:06 PM UTC Name: p_test.svg Size: 9KiB By:
zmogas
<http://savannah.gnu.org/bugs/download.php?file_id=54779>
-------------------------------------------------------
Date: Tue 23 May 2023 08:19:06 PM UTC Name: Screenshot_of_figure_window.png
Size: 45KiB By: zmogas
<http://savannah.gnu.org/bugs/download.php?file_id=54780>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64245>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64245] LineWidth is limited when printing in to raster image,
Valdas <=