Clear Filters
Clear Filters

Matlab and various symbol printing

3 views (last 30 days)
Seetha Rama Raju Sanapala
Seetha Rama Raju Sanapala on 30 Dec 2014
Edited: dpb on 30 Dec 2014
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?

Answers (1)

dpb
dpb on 30 Dec 2014
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 Comments
Seetha Rama Raju Sanapala
Seetha Rama Raju Sanapala on 30 Dec 2014
Thank you! But that is strange of MATLAB. We can not live by trial and error. Yes I will voice my concern at other fora too about this. There should be one place documentation on how we can combine non-English characters into publishing.
dpb
dpb on 30 Dec 2014
Edited: dpb on 30 Dec 2014
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?

Sign in to comment.

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!