How do i add a title and color bar

9 次查看(过去 30 天)
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)

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by