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

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

[Octave-bug-tracker] [bug #39459] colorbar modifies position/axes size o


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39459] colorbar modifies position/axes size of next surface plot
Date: Fri, 12 Jul 2013 11:32:44 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36

Follow-up Comment #3, bug #39459 (project octave):

Thanks.  The reason I missed the problem the first time around was I didn't
notice that the xdata and ydata had different lengths.  That is actually
necessary the reveal the bug.  So the following works.


surf (peaks (rand (10))); colorbar ();
surf (peaks ())


The your example fails. Notice that the second surf() also impacts the result.
 If the xdata and ydata are the same size the distortion is even worse.


surf (peaks (rand (10, 3))); colorbar ();
surf (peaks ())


It is the position property that is being set incorrectly.


get (gca, 'position')
ans =   0.78299   0.11000   0.12845   0.81500



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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