Mercurial > hg > octave-lyh
comparison scripts/plot/__go_draw_axes__.m @ 10920:91ff0d7ee94b
Don't pass figure handle to __calc_dimensions__.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 27 Aug 2010 21:06:04 -0400 |
parents | 888c75785221 |
children | 2f9de135e7f9 |
comparison
equal
deleted
inserted
replaced
10919:2a3279d11794 | 10920:91ff0d7ee94b |
---|---|
46 endif | 46 endif |
47 | 47 |
48 nd = __calc_dimensions__ (h); | 48 nd = __calc_dimensions__ (h); |
49 | 49 |
50 if (strcmpi (axis_obj.plotboxaspectratiomode, "manual")) | 50 if (strcmpi (axis_obj.plotboxaspectratiomode, "manual")) |
51 pos = __actual_axis_position__ (axis_obj); | 51 pos = __actual_axis_position__ (h); |
52 else | 52 else |
53 pos = axis_obj.position; | 53 pos = axis_obj.position; |
54 endif | 54 endif |
55 if (__gnuplot_has_feature__ ("screen_coordinates_for_{lrtb}margin")) | 55 if (__gnuplot_has_feature__ ("screen_coordinates_for_{lrtb}margin")) |
56 if (nd == 2 || all (mod (axis_obj.view, 90) == 0)) | 56 if (nd == 2 || all (mod (axis_obj.view, 90) == 0)) |