Mercurial > hg > octave-nkf
changeset 17889:5740407c25b2
Fix xticklabel with gnuplot toolkit (bug #40256)
* scripts/plot/util/private/__go_draw_axes__.m (do_tics_1): Set new
ticks instead of adding them.
author | Stefan Mahr <dac922@gmx.de> |
---|---|
date | Fri, 08 Nov 2013 23:19:43 +0100 |
parents | 11a6c7445a71 |
children | e0495a8c1b5d |
files | scripts/plot/util/private/__go_draw_axes__.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/private/__go_draw_axes__.m +++ b/scripts/plot/util/private/__go_draw_axes__.m @@ -2158,10 +2158,10 @@ nlabels = numel (labels); fprintf (plot_stream, "set format %s \"%%g\";\n", ax); if (mirror) - fprintf (plot_stream, "set %stics add %s %s %s mirror (", ax, + fprintf (plot_stream, "set %stics %s %s %s mirror (", ax, tickdir, ticklength, axispos); else - fprintf (plot_stream, "set %stics add %s %s %s nomirror (", ax, + fprintf (plot_stream, "set %stics %s %s %s nomirror (", ax, tickdir, ticklength, axispos); endif