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

 
 

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

Submitted by:  Muhali <muhali>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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:
   
   
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 muhali (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