Is there a way to invert y-axis values on ThingSpeak graphs without having access to mcu?
Hello,
I am working on a project which measures the water level in a well and the temperature of the water. Currently, we have a few of these units deployed in the field and they are working well, but our environmental engineer does not like the water level graphs because they are not "intuitive" enough. The water levels displayed on our graphs are simply the distance between the surface of the water and our distance sensor, so when the water in the well rises, the y-axis value drops, which bothers the environmental guy. Is there a way to flip the y-axis without driving back out to these rural locations and flashing revised code to the mcu? I have been looking around the channel and graph settings and I do not see anything. Google has taken me to some matlab forum links which suggest changing values in objects, which I do not think is any help right now.
Any help is appreciated.
1 Comment
Time DescendingAbsolutely! You can make a custom MATLAB visualization in the apps menu. Start by reading the data in your channel (you can read one field or many fields, depending on how much data you want to change.) Then flip the data, presumably using the depth of the well as a constant, and then make the new plot.
[myData,myTimestamps]=thingSpeakRead(channlID, ...,) myNewData=SomeConstant-myData; plot(myTimestamps,myNewData);
Then check out the MATLAB plots page if you want to make a more complex / trendy / exciting plot.
You can also convert the temperature units while you are at it, or make a 2d plot to show both at the same time.