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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65422] Octave patch does not plot patch defin


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #65422] Octave patch does not plot patch defined by two points
Date: Wed, 6 Mar 2024 11:14:04 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?65422>

                 Summary: Octave patch does not plot patch defined by two
points
                   Group: GNU Octave
               Submitter: lt1234
               Submitted: Wed 06 Mar 2024 04:14:04 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: lt1234
        Originator Email: 
             Open/Closed: Open
                 Release: 8.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 06 Mar 2024 04:14:04 PM UTC By: Liang Tang <lt1234>
Hi, 

Octave patch does not plot line defined by two points.  Octave does not draw
the patch and does not return an error.  The plot is silently empty. Thanks. 

Replacing a single patch with a for-loop with many individual line commands is
very slow, as you would expect.

% example

pts=[0 0 0;1 1 1]; tri=[1 2]
figure; patch('Vertices', pts,'Faces', tri, 'EdgeColor', 'k');







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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