Is it possible to add a new Marker Specifiers?

1 view (last 30 days)
Matlab deliver some Marker Specifiers like '+', 'o', '*', 's' and so on. See also at https://de.mathworks.com/help/matlab/ref/linespec.html.
But is it possible to add some new specifiers in a lib, that I can use them? I need for a paper the sign '|' as marker!
Thanks

Answers (1)

dpb
dpb on 18 Mar 2018
Again one of the great mysteries of what TMW sees as useful enhancements versus what they actually implement... :(
There is, AFAIK, still no way to add a symbol to the default table; all you can do is change the order in which the extant ones are used.
You can fake it by using text and any printable character available, though, which is rather inefficient as every symbol is then an object. But, you can get by.
I'll add (one of) my pet peeves in a similar vein as no builtin hatching patterns -- just why it's been 30 yr now since the Windows version with HG and still such rudimentary features aren't available is beyond ken... :(

Products

Community Treasure Hunt

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

Start Hunting!