Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Help with plotting contour.
1 回表示 (過去 30 日間)
古いコメントを表示
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)
0 件のコメント
回答 (1 件)
Thorsten
2015 年 4 月 7 日
Use colorbar to add a colorbar that relates the colors to values, as in
pcolor(peaks), colorbar
0 件のコメント
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!