bugGNU Octave - Bugs: bug #56556, xlabels incorrectly placed for...


bug #56556: xlabels incorrectly placed for subplot with non-standard figure position

Submitter:  Muhali <muhali>
Submitted:  Wed 26 Jun 2019 03:53:17 PM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 5.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 26 Jun 2019 03:53:17 PM UTC, original submission:  

graphics_toolkit qt
set(0, "defaultfigureunits", "normalized") ;
set(0, "defaultfigurepaperunits", "normalized") ;
x = rand(5,1) ;

subplot(1,2,1) ;
plot(x) ;
xlabel("xlabel1\nxlabel2") ;
print foo1.png ;
clf ;
set(gcf, "position", [0.682   0.702   0.25   0.25]) ;
subplot(1,2,1) ;
plot(x) ;
xlabel("xlabel1\nxlabel2") ;
print foo2.png ;

With the above, xlabel2 is clipped in the second plot.

Muhali <muhali>


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

Attach Files:

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 muhali (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code