Display Symbolic data at graph title

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

 Respuesta aceptada

Star Strider
Star Strider el 23 de Dic. de 2015

1 voto

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

Más respuestas (0)

Etiquetas

Preguntada:

el 23 de Dic. de 2015

Respondida:

el 23 de Dic. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by