Display imagesc within a shape
古いコメントを表示
Hi! I have a matrix of values that refer to the stress on a trapezoidal shape. Now, I would like to show the intensity of the stresses on the shape. If I use imagesc, I can see the stresses on a square... How could I reshape imagesc to fit my trapezoidal shape?
Thank you.
採用された回答
その他の回答 (1 件)
Image Analyst
2012 年 10 月 19 日
0 投票
Axes must be rectangular. imagesc() uses some arbitrary colormap. If your stresses are zero outside the trapezoid and show up as blue, you could use a different colormap - one that had zero being black or the same gray as the rest of your figure if you didn't want the zeros to show up as blue.
カテゴリ
ヘルプ センター および File Exchange で Stress and Strain についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!