How do i add a title and color bar

9 visualizaciones (últimos 30 días)
WARRIOR24
WARRIOR24 el 5 de Mayo de 2021
Comentada: WARRIOR24 el 5 de Mayo de 2021
How do I add a title to this? I thought that I did but it is not showing up on the graph. As well as a color bar and name the x and y axis, and turn off the grid mesh.
pause(.01);
hold on
title('PEC Boundary Condtion')
colorbar;
hold off
grid off
pcolor(Hz)

Respuesta aceptada

KSSV
KSSV el 5 de Mayo de 2021
pause(.01);
hold on
grid off
pcolor(Hz)
title('PEC Boundary Condtion')
colorbar;
hold off
drawnow

Más respuestas (0)

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by