フィルターのクリア

I want to make transparent the middle section of contour plzzzz help

1 回表示 (過去 30 日間)
Haseeb Hashim
Haseeb Hashim 2022 年 10 月 11 日
コメント済み: Haseeb Hashim 2022 年 10 月 12 日
I have attached the picture of contour I have obtained via contourf and extremely lengthy code. Now i want to remove or make transparent the middle section of contour with temperatures having 80 degrees. Now in order words the temperature inside the core is already known and I dont want to show it on contour please help anybody.
The inside core (80 degrees shouldnt be available) SOLID WORKS Results
MATLAB Results
NOW I WANT BOTH TO LOOK SIMILAR SO PLZZ HELP ME GET RID OF MATLAB INSIDE CORE TEMPERATURE REPRESENTATION. I EVEN HAVE ALL THE COORDINATES OR NODES OR ADDRESSES OF THESE INSIDE CORE VALUES OF 80 DEGREES
  3 件のコメント
Haseeb Hashim
Haseeb Hashim 2022 年 10 月 12 日
I am sorry for writing in Bold and Capital. I actually wanted this part to be given more importance. I am sorry if its not considered good, I didn't know that.
Thanks a lot for your answer it actually worked. You are a genius thanks man again !!!!!!!!!!!!!............
Haseeb Hashim
Haseeb Hashim 2022 年 10 月 12 日
Also how can I accept your answer the option isn't there.

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

採用された回答

DGM
DGM 2022 年 10 月 11 日
編集済み: DGM 2022 年 10 月 11 日
The example in this answer is similar. Therein, the lowest contour level is made transparent. If you dont want the other levels to be semitransparent, you can omit that part.
Alternatively, you could either mask the region with NaN as dpb suggests, or you could possibly just overlay a patch object if actual transparency is unnecessary. It depends whether it's better to define the region strictly geometrically or simply by using the data level.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by