Mercurial > hg > octave-nkf
diff libinterp/corefcn/graphics.cc @ 19860:a9516bc4c55c
Update axes "tightinset" when "x/y/ztick" have changed
* graphics.cc (axes::properties::update_x/y/ztick): call sync_positions to update the tightinset.
* graphics.cc (axes::properties::set_x/y/zticklabel): call sync_positions to update the tightinset.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Thu, 05 Feb 2015 23:12:47 +0100 |
parents | 50f14692e33b |
children | dfea01b3425f |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc +++ b/libinterp/corefcn/graphics.cc @@ -6396,6 +6396,8 @@ } else set_xticklabelmode ("manual"); + + sync_positions (); } } @@ -6412,6 +6414,8 @@ } else set_yticklabelmode ("manual"); + + sync_positions (); } } @@ -6428,6 +6432,8 @@ } else set_zticklabelmode ("manual"); + + sync_positions (); } }