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

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

[Octave-bug-tracker] [bug #39874] subplot() clears the plot


From: Rik
Subject: [Octave-bug-tracker] [bug #39874] subplot() clears the plot
Date: Tue, 17 Sep 2013 00:30:22 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Follow-up Comment #15, bug #39874 (project octave):

Thanks Ben.  From Matlab's documentation, 'align' is the default option and
only option that can be set.  In other words, there isn't actually a choice. 
it looks like it is equivalent to what Octave is doing by default.  Octave
also has a different mode, activated by 'align', which aligns the 'position'
properties rather than 'outerposition'.  Should we get rid of this?

This script, shows the different results of using align, or not, in Octave.


close all
subplot (1,2,1)
subplot (1,2,2)
hy = ylabel ({'line1', 'line2', 'line3', 'line4'});
set (hy, 'fontsize', 30)
print -dpng subplot_no_align.png

clf
subplot (1,2,1, 'align')
subplot (1,2,2, 'align')
hy = ylabel ({'line1', 'line2', 'line3', 'line4'});
set (hy, 'fontsize', 30)
print -dpng subplot_align.png


I uploaded the two png files so you can see the difference.  Because of a bug
with multi-line labels in FLTK I had to take screenshots rather than send the
results of the print command.


(file #29156, file #29157)
    _______________________________________________________

Additional Item Attachment:

File name: subplot_no_align.png           Size:14 KB
File name: subplot_align.png              Size:14 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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