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

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

[Octave-bug-tracker] [bug #61099] (xyz)limmode doesn't work as expected


From: anonymous
Subject: [Octave-bug-tracker] [bug #61099] (xyz)limmode doesn't work as expected
Date: Wed, 1 Sep 2021 02:34:16 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

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

                 Summary: (xyz)limmode doesn't work as expected
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 01 Sep 2021 06:34:14 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Bernhard Schweighofer
        Originator Email: schweigi@gmx.net
             Open/Closed: Open
                 Release: 6.3.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello,

given following example:


figure
plot (1:100)
set (gca, 'ylim', [0 1000]) % just some 'dummy' out-of-range setting
set (gca, 'xlim', [1 10])
disp ('press ENTER to continue')
pause
set (gca, 'ylimmode', 'auto')
set (gca, 'xlim', [1 11])


The expected behavior should be (as in eg. Matlab R2016b) that (in the end)
the y-axis is scaled to a range of 1 to 11. But octave scales from 0 to 100 -
octave uses the complete data range to scale instead of only the data shown in
the current view (limited x-range).

PS. Tested with octave 6.3.0 under linux with graphics_toolkit qt, fltk and
gnuplot.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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