Circular mask for pcolor plot

I have a matrix
A=50*50
B=pcolor(AA);
I wish to plot pcolor such that values within a circular zone are retained ; and those out of it are masked.
The circular zone must have the centre as the centre of the matrix A and radius as 25 pixes (since A is 50*50 pixels)
Kindly help!

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

質問済み:

2021 年 1 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by