Mercurial > octave-dspies
changeset 18997:bd1a5149c53e
__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().
author | Rik <rik@octave.org> |
---|---|
date | Thu, 07 Aug 2014 16:12:56 -0700 |
parents | 538f6492f21c |
children | 956fc864c39f |
files | scripts/plot/util/private/__go_draw_axes__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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",