Mercurial > octave-nkf
comparison src/graphics.cc @ 7924:4976f66d469b
miscellaneous cleanup
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Jul 2008 17:59:28 -0400 |
parents | b4ac6bb4114b |
children | 78400fde223e |
comparison
equal
deleted
inserted
replaced
7923:c3d21b9b94b6 | 7924:4976f66d469b |
---|---|
3158 if (updating_axis_limits) | 3158 if (updating_axis_limits) |
3159 return; | 3159 return; |
3160 | 3160 |
3161 Matrix kids = xproperties.get_children (); | 3161 Matrix kids = xproperties.get_children (); |
3162 | 3162 |
3163 octave_idx_type n = kids.numel (); | |
3164 | |
3165 double min_val = octave_Inf; | 3163 double min_val = octave_Inf; |
3166 double max_val = -octave_Inf; | 3164 double max_val = -octave_Inf; |
3167 double min_pos = octave_Inf; | 3165 double min_pos = octave_Inf; |
3168 | 3166 |
3169 char update_type = 0; | 3167 char update_type = 0; |
3488 | 3486 |
3489 void | 3487 void |
3490 hggroup::update_axis_limits (const std::string& axis_type) | 3488 hggroup::update_axis_limits (const std::string& axis_type) |
3491 { | 3489 { |
3492 Matrix kids = xproperties.get_children (); | 3490 Matrix kids = xproperties.get_children (); |
3493 | |
3494 octave_idx_type n = kids.numel (); | |
3495 | 3491 |
3496 double min_val = octave_Inf; | 3492 double min_val = octave_Inf; |
3497 double max_val = -octave_Inf; | 3493 double max_val = -octave_Inf; |
3498 double min_pos = octave_Inf; | 3494 double min_pos = octave_Inf; |
3499 | 3495 |
4170 @end deftypefn") | 4166 @end deftypefn") |
4171 { | 4167 { |
4172 return octave_value (gh_manager::figure_handle_list ()); | 4168 return octave_value (gh_manager::figure_handle_list ()); |
4173 } | 4169 } |
4174 | 4170 |
4175 DEFUN (available_backends, args, , | 4171 DEFUN (available_backends, , , |
4176 "-*- texinfo -*-\n\ | 4172 "-*- texinfo -*-\n\ |
4177 @deftypefn {Built-in Function} {} available_backends ()\n\ | 4173 @deftypefn {Built-in Function} {} available_backends ()\n\ |
4178 Returns resgistered graphics backends.\n\ | 4174 Returns resgistered graphics backends.\n\ |
4179 @end deftypefn") | 4175 @end deftypefn") |
4180 { | 4176 { |