How do you quickly format plots from the scope in Simulink?

조회 수: 3 (최근 30일)
Jesse Mikulec
Jesse Mikulec 2022년 4월 7일
답변: Fangjun Jiang 2022년 4월 7일
Say you are generating lots of plots from the scope in simulink and you want to make them all look nicer using a consistent format (i.e. axis title and legend fond sizes and color, axis lables, gridlines etc.), what is the most efficient way to apply the same formatting to all these plots without having to use Property Inspector to manually change each feature of each plot?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2022년 4월 7일
Instead of using Scope, save the signal data using "To Workspace" or "To File" block. Write a M-script function to plot.
see plot(), title(), grid(), axis(), legend()

카테고리

Help CenterFile Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by