Plotting ones and zeros in different colours

조회 수: 5 (최근 30일)
Charith Ranatunga
Charith Ranatunga 2020년 6월 5일
댓글: Adam Danz 2020년 6월 5일
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 커뮤니티

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by