Reduce noise in graph

4 ビュー (過去 30 日間)
Tadgh Cullen
Tadgh Cullen 2015 年 6 月 28 日
コメント済み: Star Strider 2015 年 6 月 28 日
I have attached a figure showing the vorticity I have calculated and plot at each time step. I have set the
caxis ([-3500 2500)]
but as you can see, there is much unwanted noise (colour changes) in the graph that make it difficult to see exactly what is going on. Is there any way I can reduce this noise by setting lets say everything between -1000 and 1000 to a single colour? Or is there a better way of doing this?
Thanks for your time

採用された回答

Star Strider
Star Strider 2015 年 6 月 28 日
The contour and contourf functions allow you to set the number of contours, and alternately specify the particular values of the contours. See the documentation for Specify Number of Contour Lines for details. Experiment with those and the other options to get the result you want.
  2 件のコメント
Tadgh Cullen
Tadgh Cullen 2015 年 6 月 28 日
That is exactly what I needed. Thank you
Star Strider
Star Strider 2015 年 6 月 28 日
My pleasure.

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

その他の回答 (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