Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Scope properties in Simulink

601 views
Skip to first unread message

Joseph Feinsinger

unread,
Nov 4, 2008, 11:19:01 AM11/4/08
to
Is there a way to change the default visual properties of a Scope in Simulink? For example, for presentation purposes I would like to make the yellow trace line thicker, change its color, and change the black background, but I can't find any info in the documentation on how to do this or whether it's possible.

Thanks in advance for any help.

cpp.m...@gmail.com

unread,
Nov 5, 2008, 12:28:40 PM11/5/08
to
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.

0 new messages