You can follow any comments to this entry through the RSS 2.0 feed.
You can skip to the end and leave a comment. Pinging is currently not allowed.
2 CommentsOldest to Newest
I noticed the indexing changed from surf to imagesc. How do the actual indices of the matrix (row,col) relate to each?
Is there a way to keep that equal?
Also how does pcolor perform when compared to imagesc (i.e does it also waste memory)?
The indexing is different by default for two different use cases. You can override them by passing in a vector with the matrix to represent the x and y vectors.
If you edit pcolor.m, you will see it uses surface underneath to accomplish its goals.