Hey,
I have a made a fitted curve using and add it to a plot with
fitV = fit(t,Vchange, 'poly1')
plot(fitV)
But not my plot has a legend in the top right saying fitted curve. I want this legend removed but can not work out how to do it. I added a pic of the plot. Any help will be great. Cheers

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 3 Mär. 2018

2 Stimmen

legend('hide')

1 Kommentar

Nicholas Florent
Nicholas Florent am 3 Mär. 2018
legend hide
thanks for that. so simple. I tried other stuff like legend off ...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by