Interact with Scope figure properties-Change the colour of background of scope

The ability to interact with Scope figure properties is not available
because the handle of the Scope figure is not turned on. To turn the
handle of your Scope figure on, and show the menus, type the following
at the MATLAB command prompt (after opening the Scope figure):

shh = get(0,'ShowHiddenHandles');
set(0,'ShowHiddenHandles','On')
set(gcf,'menubar','figure')
set(gcf,'CloseRequestFcn','closereq')
set(gcf,'DefaultLineClipping','Off')
set(0,'ShowHiddenHandles',shh)


This will allow you to manipulate your Scope figure just like any
other MATLAB figure, allowing you to make changes such as
- Background/foreground color
- Line color
- Add text or a legend
- Add a print icon
- Print the graph

No comments:

Post a Comment