フィルターのクリア

Offset signals on same axis

9 ビュー (過去 30 日間)
Matt
Matt 2017 年 6 月 14 日
回答済み: Yu-Tung Lin 2017 年 7 月 12 日
Hello,
I am currently trying to create a signal process map but I cannot find out how to offset the signals. I'm not bothered about the Y axis values as all I need to see is the rise and fall of the signals. So far I have managed to plot all the signals on the same graph (see below). However, as you can see, it's a jumbled mess. I'm trying to separate them all out so I can see each signal individually but with the same time reference.
The data for the figure below is from a table containing just the signals I want to plot.
Any help would be much appreciated.

回答 (1 件)

Yu-Tung Lin
Yu-Tung Lin 2017 年 7 月 12 日
My understanding to this question is that you want to have separate figures for each signal, and they are shown within the same time frame.
You can set a limit to the x axis for every figures.
For example, after your plot function, do the following code to set limit on x axis from 0 to 10.
xlim([0 10])
Please see reference1 to add limits for axis OR reference2 to add limits specific to x axis.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by