Escribir variables en la leyenda
Publicado por Ariadna (20 intervenciones) el 24/09/2019 16:45:28
Hola, he escrito un código que me hace un plot de unas variables y me calcula un coeficiente. Me gustaría poder escribir dicho coeficiente en la leyenda del plot. Alguien sabe como hacerlo?
Es decir:
h1=plot(x,y)
legend(h1,'Valor del coeficiente:', coeficiente);
Es decir:
h1=plot(x,y)
legend(h1,'Valor del coeficiente:', coeficiente);
Valora esta pregunta
0