Mercurial > hg > octave-lyh
changeset 15616:81db2aca1a84
Preserve minor ticks when ticklabels are specified (gnuplot only).
* scripts/plot/private/__go_draw_axes__.m: Include the "add" option to
gnuplot's "set {x,y,z}tic ..." command. (Bug # 33869)
* doc/interpreter/contributors.in: Add Ronald van der Meer.
author | Ronald van der Meer <revdmeer@gmail.com> |
---|---|
date | Tue, 20 Nov 2012 19:23:34 -0500 |
parents | 808e4f13e220 |
children | 25db7d506d12 |
files | doc/interpreter/contributors.in scripts/plot/private/__go_draw_axes__.m |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/contributors.in +++ b/doc/interpreter/contributors.in @@ -169,6 +169,7 @@ Alexander Mamonov Christoph Mayer JĂșlio Hoffimann Mendes +Ronald van der Meer Thorsten Meyer Petr Mikulik Mike Miller
--- a/scripts/plot/private/__go_draw_axes__.m +++ b/scripts/plot/private/__go_draw_axes__.m @@ -2150,10 +2150,10 @@ nlabels = numel (labels); fprintf (plot_stream, "set format %s \"%%s\";\n", ax); if (mirror) - fprintf (plot_stream, "set %stics %s %s %s mirror (", ax, + fprintf (plot_stream, "set %stics add %s %s %s mirror (", ax, tickdir, ticklength, axispos); else - fprintf (plot_stream, "set %stics %s %s %s nomirror (", ax, + fprintf (plot_stream, "set %stics add %s %s %s nomirror (", ax, tickdir, ticklength, axispos); endif