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 Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by