How to make a raster plot for the binary response of two model?

21 次查看(过去 30 天)
I want to visualize my binary data in a raster plot. How can I plot ''ones'' as small line segments in raster plots?
my x-axis is going to be ''trial number'' , my y-axis is going to be response of two models ( [1 2]) and response = 1 should be like a small line segment in the plot.
Thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by