Réponse acceptée

KSSV
KSSV le 15 Sep 2022

1 vote

plotroc(Ts,Y)
hLegend = findobj(gcf, 'Type', 'Legend');
%get text
hLegend.String
% Change
hLegend.String {'One' 'Two' 'Three'} % put your strings here; I assume three are there

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by