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.

 Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 6 Août 2011

1 vote

what about contour()?

5 commentaires

kianoosh
kianoosh le 6 Août 2011
i want to put labels on contour levels
kianoosh
kianoosh le 6 Août 2011
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 le 6 Août 2011
The background color of the label, or the contour figure?
Fangjun Jiang
Fangjun Jiang le 6 Août 2011
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 le 6 Août 2011
You can also specify 'labelspacing' when calling clabel().

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Contour Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by