Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

How can I create index for a word in legend?

Asked by laleh

laleh (view profile)

on 1 May 2013

Hi When I wrote legend(' Gamma_xz') only x goes to index. However I want that both xz goes to index of the word Gamma.

In other word, in legend, if I want to write (x sub i)I could write (x_i) then 'i' will go to index but if my index has more than one character like (x sub ij), than only the first charter will appear as index . I would be appreciated if you guide me how can I fix it.



laleh (view profile)


No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 1 May 2013
legend(' Gamma_x_z')


Azzi Abdelmalek

Azzi Abdelmalek (view profile)

Contact us