Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Help with contour of a matrix
1 回表示 (過去 30 日間)
古いコメントを表示
I have to plot a bidimensional map of a matrix using 'contour', and what I obtain is plotted in figure.
The problem is that in this way I have discrete lines, while I need to see a continuum between minimum and maximum values, with a gradual change of colors, with no blank spaces. Is it possible to do that? Maybe using a function different from 'contour'? Thanks!
0 件のコメント
回答 (1 件)
Doubutsu
2014 年 4 月 24 日
I have about the same kind of image if I try to use contour on my data. Instead I plotted it using 'imagesc'. It works good enough for me (since I just want to see something), but I don't know if it is what you are looking for.
2 件のコメント
Chad Greene
2014 年 6 月 25 日
Indeed, imagesc will flip your data vertically. So you'll need to do imagesc(flipud(yourData)). Alternatively, you could use pcolor(yourData).
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!