Clear Filters
Clear Filters

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

7 views (last 30 days)
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.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!