How to show the legend of a symbolic function while plotting its graph? I have a created a symbolic function by running the code and i am plotting it as well, but i wanted to show the calculated function also in its plot. How to resolve this issue?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Harsh Mittal
el 20 de Nov. de 2020
Respondida: Ayush Bansal
el 23 de Nov. de 2020
I am plotting several functions in one graph using
hold on
and to show the legend is am using
legend('show')
but it only shows this
not its values.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/420968/image.png)
Please help me with this?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Legend en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!