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

26 vues (au cours des 30 derniers jours)
Vikash Raj
Vikash Raj le 11 Sep 2022
Commenté : Vikash Raj le 11 Sep 2022
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)

Réponse acceptée

Walter Roberson
Walter Roberson le 11 Sep 2022
ylabel('\Delta VTAC %')

Plus de réponses (1)

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

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by