Display Symbolic data at graph title

2 次查看(过去 30 天)
I would like to display on a Graph title a symbolic data input For expample:
The program asks for 5 inputs . Ι enter in a for loop: 0,π,π/2,3π/4,π to the variable phi. I want to show to the title of each subplot the values i entrer. I tried the sym(phi) function but i can't implement the result to the title of the subplots
My question is how to show which input coresponds to the respective sublot

采纳的回答

Star Strider
Star Strider 2015-12-23
I would use the Symbolic Math Toolbox latex function, then specify 'Interpreter','latex' in the plot title name-value pair argument list.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Title 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by