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

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

[Octave-bug-tracker] [bug #35271] plot3 for x, y, z from meshgrid is inc


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35271] plot3 for x, y, z from meshgrid is incorrect
Date: Mon, 09 Jan 2012 23:39:08 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7

Update of bug #35271 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

I checked Matlab R2011b


Error using plot3
Data may not have more than 2 dimensions


I don't have a particular preference. Should we be error compatible with ML,
or might Octave convert ND arrays to 2D in this case?


reshape2d = @(x) reshape (x, [size(x,1), prod(size(x)(2:end))]);
xi = reshape2d (xi);
yi = reshape2d (yi);
zi = reshape2d (zi);




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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