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

조회 수: 21 (최근 30일)
Zahra Yousefi Darani
Zahra Yousefi Darani 2023년 2월 4일
댓글: 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 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