derivative dot symbol in the legend of 2d plot

I want to include derivative of strain in the legend i.e. epsilon with a single dot on it's head how do i do so in the legend or if i want to put it in a text box in a 2 d plot

 Accepted Answer

Somthing like the following?
x = 1:10;
y = 1:10;
plot(x,y);
legend('$\dot{\epsilon}$','Interpreter','latex','FontSize',16)
text(3,5,'$\dot{\epsilon}$','Interpreter','latex','FontSize',16)

3 Comments

The graph is already plotted. so i can only make changes in the graph through graph plotter using property instructor. what command should i write in textbox
When you use the property inspector, put
$\dot{\epsilon}$
in the String property.
You might also need to change the Interpreter property to 'latex'
yes i figured that out. Thanks a lot

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Object Properties in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!