Functions | |
endif | if (__calc_dimensions__(axis_obj)==3) aspect_ratio_2d |
unwind_protect | set (axis_obj.parent,"units","pixels") fig_position |
if (rel_aspect_ratio_2d(1)< rel_aspect_ratio_2d(2)) | |
elseif (rel_aspect_ratio_2d(1) > rel_aspect_ratio_2d(2)) dy | |
unwind_protect_cleanup | set (axis_obj.parent,"units", orig_fig_units) set(axis_obj.parent |
switch (obj.type) case = "pt 1" | |
if (obj_nd==3) nd | |
Variables | |
function | pos |
else | aspect_ratio_2d = axis_obj.dataaspectratio(1:2) |
endif | orig_fig_units = get (axis_obj.parent, "units") |
orig_fig_position = get (axis_obj.parent, "units") | |
pos_in_pixels = axis_obj.position .* fig_position([3, 4, 3, 4]) | |
orig_aspect_ratio_2d = pos_in_pixels(3:4) | |
rel_aspect_ratio_2d = aspect_ratio_2d ./ orig_aspect_ratio_2d | |
dx = (1.0 - rel_aspect_ratio_2d(1)) * pos_in_pixels(3) | |
unwind_protect_cleanup | units = "" |
unwind_protect_cleanup orig_fig_position end_unwind_protect endfunction function | nd |
for | i |
case hggroup | obj_nd = __calc_dimensions__ (obj) |
elseif | ( | rel_aspect_ratio_2d(1) | , | |
rel_aspect_ratio_2d(2) | ||||
) |
if | ( | obj_nd | = =3 |
) |
if | ( | ) |
unwind_protect_cleanup set | ( | axis_obj. | parent, | |
"units" | , | |||
orig_fig_units | ||||
) |
unwind_protect set | ( | axis_obj. | parent, | |
"units" | , | |||
"pixels" | ||||
) |
dx = (1.0 - rel_aspect_ratio_2d(1)) * pos_in_pixels(3) |
orig_fig_position = get (axis_obj.parent, "units") |
endif orig_fig_units = get (axis_obj.parent, "units") |
endif pos |
pos_in_pixels = axis_obj.position .* fig_position([3, 4, 3, 4]) |