Azzera filtri
Azzera filtri

legend doesn't appear on plot

2 visualizzazioni (ultimi 30 giorni)
talayeh ghodsi
talayeh ghodsi il 19 Feb 2021
Commentato: Walter Roberson il 19 Feb 2021
hi every body. I want to plot a simple problem with a legend. but the legend box is empty on plot as the image i have attached
could anybody help me please
p1_visual=[2 9 28 29 38 50]
p1_method=[3 8 26 31 40 51]
p2_visual=[3 10 26 28 28 51]
p2_method=[3 9 25 31 32 51]
X = categorical({'P1','P2'});
X = reordercats(X,{'P1','P2'});
figure (1)
ylim([0 60])
ylabel('Frame Number')
title('End Diastole')
legend('Visual reading','Proposed method')
ylim([0 60])
ylabel('Frame Number')
title('Rapid Ejection')
legend('Visual reading','Proposed method')
  3 Commenti
talayeh ghodsi
talayeh ghodsi il 19 Feb 2021
sorry but why inside the box in my plot is white and empty?
Walter Roberson
Walter Roberson il 19 Feb 2021
Which MATLAB version are you using, and which operating system? What is the output of
opengl info
and what shows up for
which legend

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by