piermorel / gramm

Gramm is a complete data visualization toolbox for Matlab. It provides an easy to use and high-level interface to produce publication-quality plots of complex data with varied statistical visualizations. Gramm is inspired by R's ggplot2 library.
MIT License
784 stars 222 forks source link

Interpreter for labels and title #42

Closed galli-a closed 7 years ago

galli-a commented 7 years ago

Would it be possible to change the interpreter of the labels and titles to 'Latex' or 'Tex'? This way we could also have subscript, superscript, and other LaTeX symbols

piermorel commented 7 years ago

gramm has a set_text_options() method, and it's possible to set the interpreter with it (it can also be used to change the sizes and font). Detailed help is available both in the documentation of the function and the cheat sheet. Let me know if it doesn't work as it should though !

bwbj commented 6 years ago

although the set_text_options() method is not as convenient / intuitive as set_names() for axis label.