Navigation

Operators and Keywords

Function List:

C++ API

__actual_axis_position__.m File Reference


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)

Function Documentation

elseif ( rel_aspect_ratio_2d(1)  ,
rel_aspect_ratio_2d(2)   
)

if ( obj_nd  = =3  ) 

if (  ) 

endif if ( __calc_dimensions__(axis_obj = =3  ) 

unwind_protect_cleanup set ( axis_obj.  parent,
"units"  ,
orig_fig_units   
)

unwind_protect set ( axis_obj.  parent,
"units"  ,
"pixels"   
)

endif marker switch ( obj.  type  )  = "pt 1"


Variable Documentation

dx = (1.0 - rel_aspect_ratio_2d(1)) * pos_in_pixels(3)

for i

Initial value:

 1:length (kids)
    obj = get (kids(i))

Initial value:

 __calc_dimensions__ (obj)
  kids = obj.children

case hggroup obj_nd = __calc_dimensions__ (obj)

endif pos

Initial value:

 __actual_axis_position__ (axis_obj)
  if (ishandle (axis_obj))
    axis_obj = get (axis_obj)

pos_in_pixels = axis_obj.position .* fig_position([3, 4, 3, 4])

else units = ""