Clear Filters
Clear Filters

How can I write "Cnet" in the legend but with "net" used like superscript?

1 view (last 30 days)
Hi, I would like to insert the word Cnet in the legend but "net" has to be a superscript. How can I code it? Many thanks in advance. Francesco

Answers (1)

Sven
Sven on 30 Aug 2018
Edited: Sven on 30 Aug 2018
Superscript
legend('C^{net}')
Subscript
legend('C_{net}')

Community Treasure Hunt

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

Start Hunting!