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

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

[Octave-bug-tracker] [bug #56556] xlabels incorrectly placed for subplot


From: Muhali
Subject: [Octave-bug-tracker] [bug #56556] xlabels incorrectly placed for subplot with non-standard figure position
Date: Wed, 26 Jun 2019 11:53:18 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

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

                 Summary: xlabels incorrectly placed for subplot with
non-standard figure position
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Wed 26 Jun 2019 08:53:17 AM PDT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:


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.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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