# HG changeset patch # User Rik # Date 1407453176 25200 # Node ID bd1a5149c53ec9ef1de9a7e1633fe0621db0e43a # Parent 538f6492f21cd5646bcb087d0b077dcea30d87c4 __go_draw_axes__.m: Simplify cset 538f6492f21c by using existing structure variable. * __go_draw_axes__.m: Query existing title data structure rather than fetching data againg with get(). diff -r 538f6492f21c -r bd1a5149c53e scripts/plot/util/private/__go_draw_axes__.m --- a/scripts/plot/util/private/__go_draw_axes__.m Tue Aug 05 15:26:56 2014 +0100 +++ b/scripts/plot/util/private/__go_draw_axes__.m Thu Aug 07 16:12:56 2014 -0700 @@ -153,7 +153,7 @@ if (isempty (t.string)) fputs (plot_stream, "unset title;\n"); else - colorspec = get_text_colorspec (get (axis_obj.title, "color"), mono); + colorspec = get_text_colorspec (t.color, mono); [tt, f, s] = __maybe_munge_text__ (enhanced, t, "string"); fontspec = create_fontspec (f, s, gnuplot_term); fprintf (plot_stream, "set title \"%s\" %s %s %s;\n",