How do i add a title and color bar

9 vues (au cours des 30 derniers jours)
WARRIOR24
WARRIOR24 le 5 Mai 2021
Commenté : WARRIOR24 le 5 Mai 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)

Réponse acceptée

KSSV
KSSV le 5 Mai 2021
pause(.01);
hold on
grid off
pcolor(Hz)
title('PEC Boundary Condtion')
colorbar;
hold off
drawnow
  1 commentaire
WARRIOR24
WARRIOR24 le 5 Mai 2021
This was perfect my guy! Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Colormaps dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by