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

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

[Octave-bug-tracker] [bug #40333] print with legend modifies axis positi


From: Stefan Mahr
Subject: [Octave-bug-tracker] [bug #40333] print with legend modifies axis position
Date: Mon, 21 Oct 2013 19:10:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/29.0.1547.65 Chrome/29.0.1547.65 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?40333>

                 Summary: print with legend modifies axis position
                 Project: GNU Octave
            Submitted by: dac922
            Submitted on: Mo 21 Okt 2013 19:10:28 GMT
                Category: Plotting with gnuplot
                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: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:


close all
graphics_toolkit gnuplot

plot(1:2);
legend('a');
apos = get (gca, 'position');
aout = get (gca, 'outerposition');

print('test.png')

bpos = get (gca, 'position');
bout = get (gca, 'outerposition');

assert(bpos,apos,0.001)
assert(bout,aout,0.001)


If plot and print are executed within a loop without closing the figure each
time, the axes get smaller and smaller.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40333>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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