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

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

[Octave-bug-tracker] [bug #62241] Printing a plot to file triggers autos


From: Serni Ribo
Subject: [Octave-bug-tracker] [bug #62241] Printing a plot to file triggers autoscaling of the axes for small vertical scaling values
Date: Thu, 31 Mar 2022 11:01:14 -0400 (EDT)

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

                 Summary: Printing a plot to file triggers autoscaling of the
axes for small vertical scaling values
                 Project: GNU Octave
            Submitted by: serni
            Submitted on: Thu 31 Mar 2022 03:01:12 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

A plot with three different subplots has been created, and the axes of each
subplot have been scaled using the axis() function. The axis scaling values
are very small:
axis([-1e-10 4e-10 0 15000]).

When printing the figure to a file using:

print -dpng filename.png

results in autoscaling all three plots prior to converting the plot to png.


When using larger values in the axis function, such as:
axis([-1 4 0 15000), printing the plot to a files does not autoscale the plot
and maintains the axis. In this case the plot is printed with the correct
axes.






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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