Plotting ones and zeros in different colours

5 Ansichten (letzte 30 Tage)
Charith Ranatunga
Charith Ranatunga am 5 Jun. 2020
Kommentiert: Adam Danz am 5 Jun. 2020
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 Kommentare
KSSV
KSSV am 5 Jun. 2020
Read about scatter.
Adam Danz
Adam Danz am 5 Jun. 2020
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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Communitys

Weitere Antworten in  ThingSpeak Community

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by