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

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

[Octave-bug-tracker] [bug #62481] Cannot set exactly xlim / ylim at very


From: George Apostolopoulos
Subject: [Octave-bug-tracker] [bug #62481] Cannot set exactly xlim / ylim at very small values
Date: Tue, 17 May 2022 10:09:07 -0400 (EDT)

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

                 Summary: Cannot set exactly xlim / ylim at very small values 
                 Project: GNU Octave
            Submitted by: gapost
            Submitted on: Tue 17 May 2022 02:09:06 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Running the following commands:


clf
ylim([0 1e-20])
ylim


returns

ans =

            0   1.2100e-20

i.e. the upper limit is not set correctly. The y-axis in the corresponding
figure window has the last tick at 1.2e-20 and goes up to 1.21e-20.

This occurs with both ylim and xlim when they are called with input [0 d], [-d
0] or [-d d], where 0 < d < 1e-8.

Same behavior with qt and gnuplot graphics toolkit.

Tested in Octave 6.4.0 and 7.1.0 under Ubuntu 20.04.



 





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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