Thread Subject: Scope background

Subject: Scope background

From: Lorand Szabo

Date: 12 Nov, 2008 21:12:02

Message: 1 of 4

How can I change the background color of the Simulink Scope and the color of the plots. White background and black plot for example. ...for editing purposes, because the yellow on black is hard to read when printed.
Thanks!

PS: I am not interested in any solution with Matlab plot. I should like to have in Simulink the white background.

Subject: Scope background

From: cpp.matlab@gmail.com

Date: 13 Nov, 2008 03:16:28

Message: 2 of 4

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.

Subject: Scope background

From: Lorand Szabo

Date: 14 Nov, 2008 09:49:02

Message: 3 of 4

Dear CPP,
thank you very much for your kind and useful answer.
This is a problem of mine thinking about since almost ten years!
It works....
Lonely I never could find this solution, although I have a long time experience in MATLAB/Simulink, but not at this level...

Best regards,
Lorand



cpp.matlab@gmail.com wrote in message <ae06ac0c-203d-4c0a-b6ea-3f560610a8d4@k8g2000yqn.googlegroups.com>...
> 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.

Subject: Scope background

From: Qingti

Date: 16 Mar, 2010 00:03:06

Message: 4 of 4


What should I do to change the line color after I input the set commands given?


"Lorand Szabo" <Lorand.Szabo@mae.utcluj.ro> wrote in message <gffgr2$7v6$1@fred.mathworks.com>...
> How can I change the background color of the Simulink Scope and the color of the plots. White background and black plot for example. ...for editing purposes, because the yellow on black is hard to read when printed.
> Thanks!
>
> PS: I am not interested in any solution with Matlab plot. I should like to have in Simulink the white background.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com