[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" bu
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight" |
Date: |
Sun, 30 Jan 2022 08:17:21 -0500 (EST) |
Follow-up Comment #23, bug #61532 (project octave):
Running the first part of the test for `camlookat` in Matlab R2021a, I see the
following:
>> [x, y, z] = peaks ();
s3 = surf (x, y, z/5);
hold on
[x, y, z] = sphere ();
s2 = surf (x/2, y/2+1.5, z/2+2);
s1 = mesh (x/2-4, 3*y, z/2 - 1);
axis equal
axis tight
>> get(gca, 'XLim')
ans =
-4.5000 3.0000
>> get(gca, 'YLim')
ans =
-3 3
>> get(gca, 'ZLim')
ans =
-1.5000 2.5000
In Octave hg id 4b367bf5eb16, I see:
>> [x, y, z] = peaks ();
s3 = surf (x, y, z/5);
hold on
[x, y, z] = sphere ();
s2 = surf (x/2, y/2+1.5, z/2+2);
s1 = mesh (x/2-4, 3*y, z/2 - 1);
axis equal
axis tight
>> get(gca, 'XLim')
ans =
-4.5000 3.0000
>> get(gca, 'YLim')
ans =
-3.7500 3.7500
>> get(gca, 'ZLim')
ans =
-3.2500 4.2500
The axes limits (in y- and z-direction) after `axis tight` seem to be much
tighter in Matlab than in Octave.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61532>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", (continued)
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Pantxo Diribarne, 2022/01/23
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Pantxo Diribarne, 2022/01/23
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Pantxo Diribarne, 2022/01/23
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Rik, 2022/01/23
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Philip Nienhuis, 2022/01/24
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Pantxo Diribarne, 2022/01/24
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Philip Nienhuis, 2022/01/24
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Philip Nienhuis, 2022/01/25
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Pantxo Diribarne, 2022/01/25
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight", Philip Nienhuis, 2022/01/26
- [Octave-bug-tracker] [bug #61532] "Automatic limits for current axis" button doesn't respect "axis tight",
Markus Mützel <=