Mercurial > octave-nkf
changeset 18775:e5ab507687ee stable
Correctly follow legend interpreter property for gnuplot (bug #40064).
* __go_draw_axes__.m: Use the 'interpreter' property of legend object
to set enhanced/noenhanced option to 'set key' gnuplot command.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 08 May 2014 10:59:21 -0700 |
parents | 8b90d4be063b |
children | 4ca40b289b2c |
files | scripts/plot/util/private/__go_draw_axes__.m |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__go_draw_axes__.m Wed May 07 20:49:25 2014 -0700 +++ b/scripts/plot/util/private/__go_draw_axes__.m Thu May 08 10:59:21 2014 -0700 @@ -1604,8 +1604,9 @@ else colorspec = get_text_colorspec (textcolors, mono); endif - fprintf (plot_stream, "set key %s %s;\nset key %s %s %s %s %s;\n", - inout, pos, box, reverse, horzvert, fontspec, colorspec); + fprintf (plot_stream, "set key %s %s;\nset key %s %s %s %s %s %s;\n", + inout, pos, box, reverse, horzvert, fontspec, colorspec, + __do_enhanced_option__ (enhanced, hlgnd)); else fputs (plot_stream, "unset key;\n"); endif