Remove "fitted curve" text from plot.

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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Mzo. de 2018
legend('hide')

1 comentario

Nicholas Florent
Nicholas Florent el 3 de Mzo. de 2018
legend hide
thanks for that. so simple. I tried other stuff like legend off ...

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by