Matplotlib subscript

时光怂恿深爱的人放手 提交于 2019-12-10 13:32:20

问题


I know that we can produce a single subscript in matplotlib like

$r_i 

will give me an r with "i" as the subscript.

But I want to generate a subscript with say 3 or 4 letters, like r_ijk should give me an r with "ijk" as the subscript.

When I do the above, I only get the first ("i") to be the subscript, the rest ("j" & "k") are becoming normal scripts.


回答1:


I just tried r_{ijk} and it did the trick! I was previously trying with () braces.



来源:https://stackoverflow.com/questions/22322682/matplotlib-subscript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!