Problems creating stacked plots on MATLAB

6 ビュー (過去 30 日間)
Temi O
Temi O 2019 年 3 月 5 日
回答済み: Walter Roberson 2019 年 3 月 7 日
I would like to make a stacked plot of 3 y-axis variables, with variable 'time' on the x-axis. I have looked at the help function for stacked plot but I don't understand it. Do I need to create a table before making the stacked plot? I tried
The variables that I want on the y-axis are:
spiketimes : 1 x 100 double (it's a vector of times). I would like this to be as a raster plot.
transmit_times: 1 x 92 double (it's a vector of times). I would like this to be as a raster plot.
Probability: 1 X 10001 double. I would like a normal line graph for this
On the x-axis:
Time: 1 x 10001 double.
  6 件のコメント
dpb
dpb 2019 年 3 月 7 日
Well, "if you're ok, I'm ok!" but if you would show just what you are trying to plot with some sample data if the subplot() isn't exactly what you had in mind, it's probably not difficult to do something much more like what you envisioned originally.
Temi O
Temi O 2019 年 3 月 7 日
編集済み: Temi O 2019 年 3 月 7 日
The subplot works. I created a subplot of 5 x 1 layout to get something like this
Q4.4ai.jpg

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2019 年 3 月 7 日

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by