Display Symbolic data at graph title

4 Ansichten (letzte 30 Tage)
Nick Papanikolaou
Nick Papanikolaou am 23 Dez. 2015
Beantwortet: Star Strider am 23 Dez. 2015
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by