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

17 ビュー (過去 30 日間)
Zahra Yousefi Darani
Zahra Yousefi Darani 2023 年 2 月 4 日
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.
  1 件のコメント
Zahra Yousefi Darani
Zahra Yousefi Darani 2023 年 2 月 4 日
I found my answer: I can use scatter plot with "|" marker instead of circle

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

回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by