How to add the the "change in" symbol (i.e the small tringle) on y label

31 次查看(过去 30 天)
Hi,
I have plotted the pecentage change in VTEC againg the Latitude. I have manage to obtain my graph but I want the add the triangle symbol to indicate change in beside VTEC (%) on the y label. Im attaching my plot and the codes.
plot(LT, VTEC6A1,'or-','MarkerFaceColor','r','MarkerSize',5);
ylabel('VTEC %','fontweight','bold','FontSize',9) % Before VTEC add the triangle symbol
xlim([-30 30]);
xticks(-30:10:30)
ylim([-100 100])
yticks(-100:50:100)
grid
box on
ax = gca;
ax.LineWidth = 2;
title('06/01 ~00.28hrs Log -157^{\circ}','FontSize',10)

采纳的回答

Walter Roberson
Walter Roberson 2022-9-11
ylabel('\Delta VTAC %')

更多回答(1 个)

KSSV
KSSV 2022-9-11
Read about plot. The marker '^' goves you upper triangle and the marker 'v' gives you lower triangle.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by