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

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

[Octave-bug-tracker] [bug #48273] subplot(9,1,.) gives garbage


From: Muhali
Subject: [Octave-bug-tracker] [bug #48273] subplot(9,1,.) gives garbage
Date: Mon, 20 Jun 2016 09:11:48 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

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

                 Summary: subplot(9,1,.) gives garbage
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Mon 20 Jun 2016 02:11:46 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: 4.0.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

By running


graphics_toolkit qt
set(0, "defaultfigureunits", "normalized") ;
set(0, "defaultfigureposition", [0.7   0.7   0.25   0.25]) ;

clf ;
n = 9 ;
x = randn(3,n) ;
for j=1:n
   subplot(n,1,j) ;
   plot(x(:,j)) ;
## pause(2) ;
endfor
print foo.png ;


as a script I get garbage with n>8 (see attached figure). By running
interactively or by including the pause statement it works. Same for fltk.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 20 Jun 2016 02:11:46 AM PDT  Name: foo.png  Size: 8kB   By: muhali

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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