Mercurial > octave-nkf
comparison scripts/plot/util/findall.m @ 18999:137d01e7c2d4
New scripts pan.m and rotate3d.m, update __add_default_menu__.m
* pan.m: New script to control panning mode for GUI
* rotate3d.m: New script to control panning mode for GUI
* __add_default_menu__.m: Update uimenus and callbacks. The menubar items
now sets properties on all axes except legends. It's now possible to
set, for example, the grid for all plots in a subplot.
* findall.m: Update test to reflect change of __add_default_menu__.m
* __unimplemented__.m: remove added pan and rotate3d scripts
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Mon, 28 Jul 2014 22:40:12 +0200 |
parents | 52e01aa1fe8b |
children | 4197fc428c7d |
comparison
equal
deleted
inserted
replaced
18998:a0c514c243f6 | 18999:137d01e7c2d4 |
---|---|
54 %! toolkit = graphics_toolkit ("fltk"); | 54 %! toolkit = graphics_toolkit ("fltk"); |
55 %! hf = figure ("visible", "off"); | 55 %! hf = figure ("visible", "off"); |
56 %! unwind_protect | 56 %! unwind_protect |
57 %! h = findall (hf); | 57 %! h = findall (hf); |
58 %! all_handles(1) = {"figure"}; | 58 %! all_handles(1) = {"figure"}; |
59 %! all_handles(2:15,1) = {"uimenu"}; | 59 %! all_handles(2:18,1) = {"uimenu"}; |
60 %! assert (get (h, "type"), all_handles); | 60 %! assert (get (h, "type"), all_handles); |
61 %! unwind_protect_cleanup | 61 %! unwind_protect_cleanup |
62 %! close (hf); | 62 %! close (hf); |
63 %! graphics_toolkit (toolkit); | 63 %! graphics_toolkit (toolkit); |
64 %! end_unwind_protect | 64 %! end_unwind_protect |