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

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

[Octave-bug-tracker] [bug #61945] plot(ax, ...) changes current axis


From: Muhali
Subject: [Octave-bug-tracker] [bug #61945] plot(ax, ...) changes current axis
Date: Thu, 27 Jan 2022 09:35:19 -0500 (EST)

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

                 Summary: plot(ax,...) changes current axis
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Thu 27 Jan 2022 06:35:17 AM PST
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

consider the following code:


ax = subplot(1,2,1) ;
plot(rand(5,1), rand(5,1))
subplot(1,2,2) ;
get(gca, 'position')
plot(ax, rand(5,1), rand(5,1))
get(gca, 'position')


It should show two identical position values because the current axis has not
changed. It does so in Matlab but not in Octave.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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