octave-bug-tracker
[Top][All Lists]
Advanced

[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 10:59:12 -0400 (EDT)

Follow-up Comment #1, bug #64143 (project octave):

looks like quiver correctly processes the "-o" linespec at the front of
processing:


    if (have_line_spec)
      if (! isempty (linespec.marker) && ! strcmp (linespec.marker, "none"))
        ls = "none";
      endif
    endif


setting arrowhead linestyle no None.  But at the end of quiver style
processing, remaining properties are caught by   


if (! isempty (args))
  set (hg, args{:});
endif


which applies to all plot lines.  I do note that hg is a hggroup with the
three quiver elements as children (basemarker, arrowbody, arrowhead) and
nothing else in the plot. might be able to just split that into three separate
set statements with a conditional on the arrowhead, if it doesn't break
anything else. or maybe better could just conditionally set the arrowhead
linestyle back to none after applying all other properties, if that doesn't
cause any odd persistent effects. 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64143>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]