Thu 02 May 2013 01:58:24 AM UTC, comment #1:
Thanks for your report. However, this is not a bug but the correct operation of the meshgrid function. All 3D plotting routines follow the same convention of indexing X coordinates by column and Y coordinates by row. These conventions are also compatible with the Matlab functions of the same names.
This may seem to be the reverse of the size command and of typical functions that create matrices with M rows and N columns. However, reading the help text for the meshgrid, mesh, and surf functions should make it clear. Would you like to suggest additions or changes to the documentation for any of these functions?
|
Wed 01 May 2013 09:30:18 PM UTC, original submission:
Seems like meshgrid command unnaturally swaps X and Y data.
Proceed:
while next code is Ok;
This is probably really minor, but annoying and could bring errors somewhere else... Thank you!
|