No Lines between points when plotting on ThingSpeak (Example ThingSpeak Code)
Afficher commentaires plus anciens
Hello,
I am having problems with a simple 2-y-axis plot on ThingSpeak.
The measurement dots just do not get connected by a line.
Does anyone have an idea why that happens?
This is my code: (even the example ThingSpeak code)
readChannelID = [685541];
fieldID1 = [1];
fieldID2 = [2];
readAPIKey = '*************';
[data1, time1] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 3600, 'ReadKey', readAPIKey);
[data2, time2] = thingSpeakRead(readChannelID, 'Field', fieldID2, 'NumPoints', 3600, 'ReadKey', readAPIKey);
yyaxis left;
plot(time1, data1,'-x')
ylim([15 37])
yyaxis right;
plot(time2, data2,'-x');
ylim([0 100])

Réponse acceptée
Plus de réponses (0)
Communautés
Plus de réponses dans ThingSpeak Community
Catégories
En savoir plus sur Visualize Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!