[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64143] quiver: arrowheads visible if setting
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #64143] quiver: arrowheads visible if setting name-value property after linestyle |
Date: |
Thu, 4 May 2023 13:46:22 -0400 (EDT) |
Follow-up Comment #2, bug #64143 (project octave):
the following simple change mostly fixes the example problem. however i just
noticed in matlab the linewidth change applies to the marker as well, while it
does not in octave. also need to do some other compatibility checking.
diff -r 03fe0b635d2e scripts/plot/draw/private/__quiver__.m
--- a/scripts/plot/draw/private/__quiver__.m Wed May 03 22:52:33 2023
-0400
+++ b/scripts/plot/draw/private/__quiver__.m Thu May 04 13:41:35 2023
-0400
@@ -379,6 +379,11 @@
if (! isempty (args))
set (hg, args{:});
+ if (have_line_spec)
+ if (! isempty (linespec.marker) && ! strcmp (linespec.marker,
"none"))
+ set (h2, "linestyle", "none");
+ endif
+ endif
endif
unwind_protect_cleanup
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64143>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/