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

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

[Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of


From: Rik
Subject: [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio"
Date: Sun, 3 Feb 2019 09:57:52 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

                 Summary: 2-D plots should ignore z-argument of
"plotboxaspectratio"
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Sun 03 Feb 2019 06:57:49 AM PST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The OpenGL renderer is incorrectly using the z-argument of
"plotboxaspectratio" for 2-D drawings where it does not apply.

Sample code to reproduce:


t = linspace (0, 2*pi, 100);
y = sin (t);
plot (t, y);
axis equal
## This line causes plot to disappear
pbaspect ([1500 750 1])


The pbaspect command is merely calling for a 2:1 ratio.  The plot can be made
to re-appear by ensuring that the Z-argument is of the same order of magnitude
as the X and Y arguments.  Either of these work


pbaspect ([1500 750 750])
pbaspect ([2 1 1])








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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