contour plot of existing data

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.

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 6 de Ag. de 2011

1 voto

what about contour()?

5 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Contour Plots en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by