[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 23:58:43 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #3, bug #55634 (project octave):
Definitely an improvement. I would say that this resloves the problem with
2-D aspect ratios. But a problem still remains with 3-D aspect ratios. Take
the same code, but display the third dimension.
t = linspace (0, 2*pi, 100);
y = sin (t);
plot (t, y);
axis equal
view (3)
## This line causes plot to disappear
pbaspect ([1500 750 1])
If I check with the Z limits with zlim() I find [-1, 1]. The plot can be made
to appear again if I set the Z limits to something smaller such as [-.002
+.002]. This appears to be what Matlab does. If I set the limits with
zlim ([-1, 1])
in Matlab then the plot disappears there as well.
I think Matlab will adjust the limits of the data, as long as "zlimmode" is
"auto", when "dataaspectratio" and "plotboxaspectratio" are adjusted. My
guess is that Octave does not do that. Maybe there is another special
exception going on, because it does update the X and Y limits when I enter the
command
pbaspect ([1500 750 1])
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55634>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Rik, 2019/02/03
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Markus Mützel, 2019/02/03
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Markus Mützel, 2019/02/03
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio",
Rik <=
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Rik, 2019/02/08
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Markus Mützel, 2019/02/09
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Markus Mützel, 2019/02/09
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Markus Mützel, 2019/02/10
- [Octave-bug-tracker] [bug #55634] 2-D plots should ignore z-argument of "plotboxaspectratio", Rik, 2019/02/10