Matlab and various symbol printing
조회 수: 8 (최근 30일)
이전 댓글 표시
I wanted a comprehensive and fool proof documentation of printing various symbols in various contexts of MATLAB programming like - xlabel, ylabel, title. I searched the web and found the link as below http://in.mathworks.com/help/symbolic/mupad_ug/typeset-symbols-available-in-mupad.html I used the tabel there and got expected results for some but I got error like this for some symbols:
ylabel('\Dagger')
Warning: Unable to interpret TeX string "\Dagger"
Also I want to print symbols and format the text variously like LaTeX. I see in the MATLAB examples it says LaTeX code or some thing like that. But how do we get the documentation on LaTeX that is applicable for MATLAB? Is the above information available at one reference?
댓글 수: 0
답변 (1개)
dpb
2014년 12월 30일
AFAIK, no, there is no unified place where all of the above are provided at one point. The doc for the Matlab-specific TeX subset starts, at least, under the documentation for the Interpreter property under text
It takes, almost, knowing that from experience however, to find it as you can search for ages and never have a link take you there.
I don't have the Symbolic Toolbox so don't know anything about what is/isn't supported there, specifically, but it's essentially independent of the other annotation facilities. There's also the problem that until 2014a/b that the tick labels didn't/don't support TeX at all.
I suggest adding your voice to the previous crowd asking for enhancement to documentation at least to make links to the information accessible from searching or, better yet, bring it to a higher level topic. This has been a lament/complaint for as long as I've used Matlab which is going on 30 yr now...
댓글 수: 2
dpb
2014년 12월 30일
편집: dpb
2014년 12월 30일
In TMW's defense...there are only so many resources available and they have to determine how these are best allocated. More on documentation inevitably means fewer for other enhancements.
That TeX/LaTeX are ingrained from outside source rather than fully inhouse developments has a lot to do with this lack of direct documentation internally I expect, also. They're not really Matlab per se, at all, but a feature brought in from outside. Hence, TMW initially probably expected that most who would want to use the feature would already be familiar with it and that it wasn't their job to teach.
Similarly, MuPad originated as another outside product which was eventually purchased by TMW
so it's also not surprising that there are still differences between the facilities within it and the base TMW products since it is only quite recently that MuPAD actually become totally a TMW product.
But, all that notwithstanding I agree still that for the new user finding the necessary information is much harder than needs be since the only links are buried under the function properties.
Anyway, did the above link basically solve the question/problem?
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!