Plotting ones and zeros in different colours

Hi
Im trying to plot occupancy values of 1s and 0s but in different colours on a graph with temperature data values from Thingspeak.
When I plotted the occupancy values but they didnt display cause they are outside the axis limits. How do I plot each 1 and 0 using two different colours

2 件のコメント

KSSV
KSSV 2020 年 6 月 5 日
Read about scatter.
Adam Danz
Adam Danz 2020 年 6 月 5 日
What are you plotting? Heatmap? scatter plot? contour plot? lines? bar or histogram?
Could you provide a screenshot of your plot for inspiration? Better yet, could you post a minimal working example that repduces your plot?

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

回答 (0 件)

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

質問済み:

2020 年 6 月 5 日

コメント済み:

2020 年 6 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by