bugGNU Octave - Bugs: bug #38864, meshgrid problem with 3D data

 
 

bug #38864: meshgrid problem with 3D data

Submitted by:  None
Submitted on:  Wed 01 May 2013 09:30:18 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: InvalidAssigned to: None
Originator Name: LeonOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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?

Mike Miller <mtmiller>
Project Member
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!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Jun 2013 03:18:55 AM UTCrik5StatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Thu 02 May 2013 01:58:24 AM UTCmtmillerStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup