[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignor
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored |
Date: |
Mon, 6 May 2024 18:46:01 -0400 (EDT) |
Follow-up Comment #9, bug #65687 (group octave):
thanks, in pdf it works indeed but not as visually appealing (the line is
outside the borders) and as you mention a few widths are supported (maybe on
my system up to 4?).
Although not perfect, I prepared a kind-of workaround.
graphics_toolkit('qt')
x = 0:0.1:10;
y = x;
plot(x, y, 'LineWidth', 0.3);
hold on
y = x + 0.5;
plot(x, y, 'LineWidth', 0.5);
y = x + 1;
plot(x, y, 'LineWidth', 0.7);
y = x + 1.5;
plot(x, y, 'LineWidth', 1.0);
y = x + 2.0;
plot(x, y, 'LineWidth', 2.0);
y = x + 2.5;
plot(x, y, 'LineWidth', 10);
y = x + 3;
plot(x, y, 'LineWidth', 20);
y = x + 3.5;
plot(x, y, 'Color', 'b', 'LineWidth', 4);
y = x + 3.55;
plot(x, y, 'Color', 'b', 'LineWidth', 4);
y = x + 3.6;
plot(x, y, 'Color', 'b', 'LineWidth', 4);
y = x + 3.65;
plot(x, y, 'Color', 'b', 'LineWidth', 4);
title('Test Plot');
xlabel('x');
ylabel('y = x');
Since using a shader representation (that would then allow any width and it
the "modern" OpenGL implementation) is a significant major change, you can
close the issue.
It would be nice to add a note in the documentation of this dependency
/limitation on OpenGL for tick lines.
many thanks for the support.
best regards,
Marco
(file #56020)
_______________________________________________________
Additional Item Attachment:
File name: qt_2.png Size: 76KiB
<https://file.savannah.gnu.org/file/qt_2.png?file_id=56020>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-bb6ac47258d6ad8e166786c81860d8aedf63a25a.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65687>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, anonymous, 2024/05/04
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, INVALID.NOREPLY, 2024/05/05
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, Dmitri A. Sergatskov, 2024/05/05
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, INVALID.NOREPLY, 2024/05/05
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, Dmitri A. Sergatskov, 2024/05/05
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, INVALID.NOREPLY, 2024/05/05
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, anonymous, 2024/05/05
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, anonymous, 2024/05/05
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, Rik, 2024/05/06
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored,
anonymous <=
- [Octave-bug-tracker] [bug #65687] [Qt Backend] LineWidth parameter ignored, Rik, 2024/05/15