# HG changeset patch # User Ben Abbott # Date 1272124198 14400 # Node ID 5f46cc552ce5fe4e449292c72679a3fa823dbd5b # Parent ea79ebe99051aadc74cff5d094ab02f405ff0d50 __go_draw_axes__.m: Consistent placement of axes for ps vs other gnuplot terminals. diff -r ea79ebe99051 -r 5f46cc552ce5 scripts/ChangeLog --- a/scripts/ChangeLog Fri Apr 23 22:20:12 2010 -0700 +++ b/scripts/ChangeLog Sat Apr 24 11:49:58 2010 -0400 @@ -1,3 +1,8 @@ +2010-04-24 Ben Abbott + + * plot/__go_draw_axes__.m: Consistent placement of axes for ps vs + other gnuplot terminals. + 2010-04-23 Ben Abbott * plot/colorbar.m: Fix colorbar() bugs for manual plotboxaspectratio. diff -r ea79ebe99051 -r 5f46cc552ce5 scripts/plot/__go_draw_axes__.m --- a/scripts/plot/__go_draw_axes__.m Fri Apr 23 22:20:12 2010 -0700 +++ b/scripts/plot/__go_draw_axes__.m Sat Apr 24 11:49:58 2010 -0400 @@ -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];