Problem with the title of a graph
3 views (last 30 days)
Show older comments
I want to write on the title pf the graph the function that i'm plotting, the function is insert in the command window.
fun=x^2-2;
title(['The graph of ',fun])
2 Comments
Adriano Filippo Inno
on 2 Apr 2019
May with the following line:
title(['The graph of ',func2str(fun)])
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Directed Graphs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!