Hi all. How do i draw a contour plot of my existing data. I have x,y,z. One solution is to use Surface Fitting Toolbox, but there i can not add label to the contour. Thanks.

 採用された回答

Fangjun Jiang
Fangjun Jiang 2011 年 8 月 6 日

1 投票

what about contour()?

5 件のコメント

kianoosh
kianoosh 2011 年 8 月 6 日
i want to put labels on contour levels
kianoosh
kianoosh 2011 年 8 月 6 日
oh, i could put labels on contour levels, but these labels are so litle and unreadable. how do i can set background color to them??
Fangjun Jiang
Fangjun Jiang 2011 年 8 月 6 日
The background color of the label, or the contour figure?
Fangjun Jiang
Fangjun Jiang 2011 年 8 月 6 日
Get the handle of the label and set the background color.
handle=clabel(...);
get(handle(1),'backgroundcolor');
set(handle(1),'backgroundcolor','green');
Fangjun Jiang
Fangjun Jiang 2011 年 8 月 6 日
You can also specify 'labelspacing' when calling clabel().

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by