Mercurial > octave
comparison src/graphics.h.in @ 12334:63dc132a1000
Move axes labels and title positioning to axes::properties
author | Konstantinos Poulios <logari81@gmail.com> |
---|---|
date | Thu, 03 Feb 2011 19:30:13 +0100 |
parents | 2ad37783bf01 |
children | 5367bd36b9f8 |
comparison
equal
deleted
inserted
replaced
12333:f103b9c1ca05 | 12334:63dc132a1000 |
---|---|
3309 | 3309 |
3310 void update_xdir (void) { update_camera (); update_axes_layout (); } | 3310 void update_xdir (void) { update_camera (); update_axes_layout (); } |
3311 void update_ydir (void) { update_camera (); update_axes_layout (); } | 3311 void update_ydir (void) { update_camera (); update_axes_layout (); } |
3312 void update_zdir (void) { update_camera (); update_axes_layout (); } | 3312 void update_zdir (void) { update_camera (); update_axes_layout (); } |
3313 | 3313 |
3314 void update_xlabel_position (void); | |
3315 void update_ylabel_position (void); | |
3316 void update_zlabel_position (void); | |
3317 void update_title_position (void); | |
3318 | |
3314 void update_ticklengths (void); | 3319 void update_ticklengths (void); |
3315 void update_tickdir (void) { update_ticklengths (); } | 3320 void update_tickdir (void) { update_ticklengths (); } |
3316 void update_tickdirmode (void) { update_ticklengths (); } | 3321 void update_tickdirmode (void) { update_ticklengths (); } |
3317 | 3322 |
3318 void update_xtick (void) | 3323 void update_xtick (void) |
3378 | 3383 |
3379 double calc_tick_sep (double minval, double maxval); | 3384 double calc_tick_sep (double minval, double maxval); |
3380 void calc_ticks_and_lims (array_property& lims, array_property& ticks, array_property& mticks, | 3385 void calc_ticks_and_lims (array_property& lims, array_property& ticks, array_property& mticks, |
3381 bool limmode_is_auto, bool is_logscale); | 3386 bool limmode_is_auto, bool is_logscale); |
3382 void calc_ticklabels (const array_property& ticks, any_property& labels, bool is_logscale); | 3387 void calc_ticklabels (const array_property& ticks, any_property& labels, bool is_logscale); |
3388 Matrix get_ticklabel_extents (const Matrix& ticks, | |
3389 const string_vector& ticklabels, | |
3390 const Matrix& limits); | |
3391 | |
3383 void fix_limits (array_property& lims) | 3392 void fix_limits (array_property& lims) |
3384 { | 3393 { |
3385 if (lims.get ().is_empty ()) | 3394 if (lims.get ().is_empty ()) |
3386 return; | 3395 return; |
3387 | 3396 |