フィルターのクリア

Contour Map Color Distorted in MATLAB

2 ビュー (過去 30 日間)
Amanda
Amanda 2012 年 11 月 28 日
I have been plotting contour maps in MATLAB with large amounts of data.
However, some of the contour maps are distorted with fragments of different color.
So the contour map should show an uniform color without any distortion.
For example, for the region displaying yellow it is displaying sprinkle of light yellow through it, even though the data is in the same bounds for the area.
So why for the color distortion? Any solution for it?
Thanks, Amanda

採用された回答

Image Analyst
Image Analyst 2012 年 11 月 28 日
Maybe it's an aliasing/subsampling issue. You can try making the lines thicker by setting the 'LineWidth' property:
load penny;
contour(flipud(P), 'LineWidth', 3);
axis square;
or maybe with your large dataset some contours are so close together that they are combining to make new colors. You can try to increase your increment/step size to make fewer contours that don't bump into each other.
  1 件のコメント
Amanda
Amanda 2012 年 11 月 28 日
Thanks Image Analyst. You have helped me out a lot on imaging and plotting.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by