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

 Réponse acceptée

Walter Roberson
Walter Roberson le 3 Mar 2018
legend('hide')

1 commentaire

Nicholas Florent
Nicholas Florent le 3 Mar 2018
legend hide
thanks for that. so simple. I tried other stuff like legend off ...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by