Mercurial > octave-nkf
diff scripts/plot/util/cla.m @ 20321:42b7d7758c4a
Remove axes "interpreter" property (bug #45388)
* graphics.in.h (axes::properties): remove interpreter property
* genpropdoc.m: remove "interpreter" from the list of axes properties
* legend.m: create legend axes specific "interpreter" property
* polar.m: bind labels "interpreter" to the axes "ticklabelinterpreter"
* cla.m: use "ticklabelinterpreter" in test
* __go_draw_axes__.m: use "ticklabelinterpreter" property for axes objects
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Thu, 25 Jun 2015 00:22:32 +0200 |
parents | 4197fc428c7d |
children |
line wrap: on
line diff
--- a/scripts/plot/util/cla.m Tue Jun 23 22:21:50 2015 +0200 +++ b/scripts/plot/util/cla.m Thu Jun 25 00:22:32 2015 +0200 @@ -92,16 +92,16 @@ %! unwind_protect %! hax = gca; %! plot (hax, 1:10); -%! set (hax, "interpreter", "tex"); +%! set (hax, "ticklabelinterpreter", "none"); %! cla (hax); %! kids = get (hax, "children"); %! assert (numel (kids), 0); -%! assert (get (hax, "interpreter"), "tex"); +%! assert (get (hax, "ticklabelinterpreter"), "none"); %! plot (hax, 1:10); %! cla (hax, "reset"); %! kids = get (hax, "children"); %! assert (numel (kids), 0); -%! assert (get (hax, "interpreter"), "none"); +%! assert (get (hax, "ticklabelinterpreter"), "tex"); %! unwind_protect_cleanup %! close (hf); %! end_unwind_protect