12:42 pm

September 12, 2018

Hello,
I used MATLAB Visualizations to create 2-D line plot, I insert channel ID, field ID, read key and everything was be fine.
But, the chart it's no static, I can move axis to up and down, left, right but I don't want it. I would to all axis will be static.
Could anyone help me with this problem? What I must add to default generated code, to get it?
Thanks for help.
9:01 am


Moderators
March 7, 2017

3:38 pm

September 12, 2018

9:26 pm


Moderators
March 7, 2017

MATLAB is case sensitive. Try plot(x,y) instead of Plot().
If you find an example, you can usually copy and paste the code.
This one shows how to use the template code, but you can just copy and paste from the grey boxes. You will need to change the variable names though.
https://www.mathworks.com/help/thingspeak/Plot-Temperature-and-Wind-Speed-on-Two-Different-Axes.html
Most Users Ever Online: 166
Currently Online:
29 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormierModerators: cstapels: 460
Administrators: Hans: 405, lee: 457