bugGNU Octave - Bugs: bug #56174, Axes "position" property...

 
 

bug #56174: Axes "position" property not updated

Submitted by:  Robert Jenssen <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:  Open/Closed:  Open
Release:  5.1.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 14 May 2019 02:45:01 PM UTC, comment #2: 

I have the same problem with qt backend.

Setting 'units' to 'pixels' or 'points' for a legend pins it to a fixed place in the window. Resizing the windows resizes all plots and legends inside it, except this one.

Anonymous
Mon 22 Apr 2019 04:26:21 PM UTC, comment #1: 

Unfortunately not all properties can be supported with the gnuplot backend which is an independent program.  Try using the qt toolkit for the best support by Octave and performance. 

Rik <rik5>
Project Administrator
Sat 20 Apr 2019 03:11:10 AM UTC, original submission:  

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.

Robert Jenssen <morgawr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by morgawr (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5