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

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

[Octave-bug-tracker] [bug #56174] Axes "position" property not updated


From: Robert Jenssen
Subject: [Octave-bug-tracker] [bug #56174] Axes "position" property not updated
Date: Fri, 19 Apr 2019 23:11:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

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

                 Summary: Axes "position" property not updated
                 Project: GNU Octave
            Submitted by: morgawr
            Submitted on: Sat 20 Apr 2019 03:11:10 AM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The documentation for axis properties at:

https://octave.org/doc/v5.1.0/Axes-Properties.html#XREFaxesposition

says for the "position" property: "Specify the position of the plot excluding
titles, axes, and legend. The four elements of the vector are the coordinates
of the lower left corner and width and height of the plot, in units normalized
to the width and height of the plot window."

When I run the following test:

graphics_toolkit("gnuplot")
plot(1:10,2:2:20)
hax=gca()
set(hax,"units","pixels")
get(hax,"position")
get(hax,"plotboxaspectratio")
axis equal
get(hax,"position")
get(hax,"plotboxaspectratio")
axis([-20 20 -20 20])
get(hax,"position")
get(hax,"plotboxaspectratio")


I see that the shape of the plot axes box changes but the "position" property
does not change.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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