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

29 visualizzazioni (ultimi 30 giorni)
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)

Risposta accettata

Walter Roberson
Walter Roberson il 11 Set 2022
ylabel('\Delta VTAC %')

Più risposte (1)

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

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by