How do i add a title and color bar

10 views (last 30 days)
WARRIOR24
WARRIOR24 on 5 May 2021
Commented: WARRIOR24 on 5 May 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)

Accepted Answer

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

More Answers (0)

Categories

Find more on Colormaps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!