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

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)

Superscript
legend('C^{net}')
Subscript
legend('C_{net}')

Asked:

on 30 Aug 2018

Edited:

on 30 Aug 2018

Community Treasure Hunt

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

Start Hunting!