Is there a way to make the Simulink scope plot Black on White?
Answer:
The scope graph is not very usable and they don't seem to give you much choice of what to do with it. The best thing I can think of is to export the simulation data to the Matlab workspace and plot it with Matlab, which generates beautiful, easy to edit graphs.
To do this: Put a “To Workspace” block in place of your scope. Now every time you run a simulation all the data from you simulation will be put in a variable in your Matlab workspace. You can choose the name of this variable (default is “simout”) and the data format. Since you want to plot you should choose structure with time. What you will end up with is a structure called “simout” that contains fields “time and “signals”. The output data from your simulation will be a field inside the signals field called “values”. To check these names just type “simout” at the matlab command prompt. To access the fields inside type “simout.<field name>”. If the names are as I have stated above just type
figure; plot(simout.time,simout.signal...
And you will see you output plotted vs time. The bl should make the line black, if not just leave that out and you can easily edit the plot from the figure toolbar. If you want to do more advanced stuff you should learn about the "handles" system which lets you alter pretty much every aspect of the graphics you display.
The answers post by the user, for information only, FunQA.com does not guarantee the right.
More Questions and Answers: