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

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

[Octave-bug-tracker] [bug #54796] Consecutive plots drift out of the fig


From: Tunc
Subject: [Octave-bug-tracker] [bug #54796] Consecutive plots drift out of the figure area
Date: Fri, 5 Oct 2018 22:24:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

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

                 Summary: Consecutive plots drift out of the figure area
                 Project: GNU Octave
            Submitted by: tunc
            Submitted on: Sat 06 Oct 2018 02:24:42 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Basically, if you plot twice on the same figure window one after another, the
second plot is not positioned on the canvas properly. Content is shifted
southwards, which may result in the x-label being clipped off.

A while ago, I reported this problem: https://savannah.gnu.org/bugs/?51829.
The report was closed, but actually the issue is not fully fixed. There is an
improvement, though: Now the shift does not keep exacerbating in the 3rd, 4th,
5th... plotting attempts. It only happens between the first and second
iterations.


set(0,'defaultaxesfontsize', 25)
for i=1:1:3
        plot(1,1,'o');
        xlabel('x');
        ylabel('y');
        print(sprintf('%d.png', i));
end




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 06 Oct 2018 02:24:42 AM UTC  Name: 1.png  Size: 18KiB   By: tunc

<http://savannah.gnu.org/bugs/download.php?file_id=45156>
-------------------------------------------------------
Date: Sat 06 Oct 2018 02:24:42 AM UTC  Name: 2.png  Size: 17KiB   By: tunc

<http://savannah.gnu.org/bugs/download.php?file_id=45157>
-------------------------------------------------------
Date: Sat 06 Oct 2018 02:24:42 AM UTC  Name: 3.png  Size: 17KiB   By: tunc

<http://savannah.gnu.org/bugs/download.php?file_id=45158>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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