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
780 stars 221 forks source link

latex interpreter? #89

Closed danielemarinazzo closed 4 years ago

danielemarinazzo commented 4 years ago

Hi Pierre, is the latex interpreter compatible with gramm? we're having an issue with using greek letters in the captions. thanks!

piermorel commented 4 years ago

Hi Daniele,

Matlab's 'interpreter' options is available through gramm's set_text_options(), which should fix this kind of thing. Let me know if that works as expected !

danielemarinazzo commented 4 years ago

Dear Pierre

the issue indeed came up when modifying tick labels, and we found that in draw.m, line 1115, where it says:

set(ca,'TickLabelInterpreter','none')

it should probably be saying:

set(ca,'TickLabelInterpreter',obj.text_options.interpreter)

otherwise the interpreter settings are overwritten.

d.

zhangfan-space commented 4 years ago

https://github.com/piermorel/gramm/issues/47