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

21 vues (au cours des 30 derniers jours)
Zahra Yousefi Darani
Zahra Yousefi Darani le 4 Fév 2023
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 commentaire
Zahra Yousefi Darani
Zahra Yousefi Darani le 4 Fév 2023
I found my answer: I can use scatter plot with "|" marker instead of circle

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Tags

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by