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

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

[Octave-bug-tracker] [bug #39433] subplot sizes wrong


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #39433] subplot sizes wrong
Date: Mon, 08 Jul 2013 16:19:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

Follow-up Comment #5, bug #39433 (project octave):

Ben,

OK. I found that now both rows of the subplot
require :
 for k = 1:3
   subplot (2, 3, K, "align");   % for first row
   subplot (2, 3, K+3, "align"); % for second row
 endfor
This produces correct alignment.

For some reason, after your previous fix, only
the second row required "align".  In fact, I think
that the alignment went wrong if I used "align"
for the first row.

Anyhow, using "align" for both rows seems like the
appropriate usage.  If that had worked before this
problem would not have come up.

However, there is currently no documentation for the "align"
option in the subplot section of the manual (or help).
And, there is no "noalign" for subplot.  Since most
users of subplot would, I think, assume or prefer "align"
this should be the default.  Then, it would make sense
to provide "noalign" to turn it off (which is what you
get now by default).

So, it looks like the only code change needed is the
setting of "align" by default, and provide the 
"noalign" option.  And, the documentation needs all this
described.  I am not sure if the "noalign" option is
really needed, but someone might think of a useful case.
Since this is how it works now with "align" not set,
it is easy to allow.

Since it now works, this can have lower priority.  But,
the documentation should be updated to match the current
code and include "noalign" if you think it is needed.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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