Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Help with plotting contour.

1 visualización (últimos 30 días)
Shubham Maurya
Shubham Maurya el 7 de Abr. de 2015
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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)

Respuestas (1)

Thorsten
Thorsten el 7 de Abr. de 2015
Use colorbar to add a colorbar that relates the colors to values, as in
pcolor(peaks), colorbar

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by