Mercurial > jwe > octave
changeset 20959:3894a672799e
Place ticklabels in LaTeX mathmode when using gnuplot terminal "eepic".
(Fix to 249a4659dfa5 for bug #46517)
* __gnuplot_draw_axes__.m: Place ticklabels with exponents in mathmode when
using gnuplot's eepic terminal.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Mon, 21 Dec 2015 13:27:53 -0500 |
parents | 249a4659dfa5 |
children | 2a99b8b250cd |
files | scripts/plot/util/private/__gnuplot_draw_axes__.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m Fri Dec 18 20:57:08 2015 -0500 +++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m Mon Dec 21 13:27:53 2015 -0500 @@ -2167,8 +2167,8 @@ endif if (strcmp (scale, "log")) num_mtics = 10; - if (any (strcmp (gnuplot_term, {"cairolatex", "epslatex", "latex", ... - "pslatex", "pstex", "pstricks", "texdraw", "tikz"}))) + if (any (strcmp (gnuplot_term, {"cairolatex", "eepic", "epslatex", ... + "latex", "pslatex", "pstex", "pstricks", "texdraw", "tikz"}))) fmt = "$10^{%T}$"; else fmt = "10^{%T}";