Mercurial > hg > octave-nkf
diff scripts/plot/__go_draw_axes__.m @ 10561:5f46cc552ce5
__go_draw_axes__.m: Consistent placement of axes for ps vs other gnuplot terminals.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 24 Apr 2010 11:49:58 -0400 |
parents | 95c3e38098bf |
children | f5a652a101b0 |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -50,8 +50,8 @@ pos = __actual_axis_position__ (axis_obj); else pos = axis_obj.position; - pos = pos - implicit_margin([1, 2, 1, 2]).*[1, 1, -0.5, -0.5]; endif + pos(1:2) = pos(1:2) - implicit_margin .* [0.75, 0.5]; if (__gnuplot_has_feature__ ("screen_coordinates_for_{lrtb}margin")) if (nd == 2) x = [1, 1];