Display Symbolic data at graph title

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by