フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Help with plotting contour.

1 回表示 (過去 30 日間)
Shubham Maurya
Shubham Maurya 2015 年 4 月 7 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
r=-5:.2:5; [X,Y]=meshgrid(r,r); Z=30-2*X; pcolor(Z) This is the temperature distribution. Now I want to label each color in the plot with corresponding temperature. (Say yellow corresponds to 60 degC and so on)

回答 (1 件)

Thorsten
Thorsten 2015 年 4 月 7 日
Use colorbar to add a colorbar that relates the colors to values, as in
pcolor(peaks), colorbar

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by