stamp plot question
cplatt
Posts: 55
Hello Everyone. Anyone out there with some Stamp Plot experience? I would like to overlay 3 plots of one hour temperature taken at different times of the day without the added hassle of exporting the data to Excel. Kind of like how 3 channels' values are displayed at the same time and the graph shows three different colored plots overlayed. Hope this makes sense. (have donated)
Comments
The format for a normal line (using constant drawing) is:
@LINE X1, Y1, X2, Y2, Color
Using T0 (current time) and L0 (last time accessed), these can be used for the X-Axis, such that:
@LINE (T0),Last_Value,(L0),Current_Value,(BLACK)
would draw a line from the last value sampled to the current value sampled.
DEBUG "@LINE (T0),", DEC Last_Value, ",(L0),", DEC Current_Value,",(RED)",CR
Once you have done the plot for the 1st hour, issue a reset ( DEBUG "!RSET",CR) and repeat using another color.
You will also need to set the last_value = current_value for the very first data point.
On a plane now, but if you have problems I can probably write a sample program doing this in the next couple days if need be.
Oh, to clear your constant drawings to start over again, issue a Clear Constant instruction, !CLRC (DEBUG "!CLRC",CR).
I only watch the Wireless and Stamps In Class forums these days as these are so many postings and forums, but you may also directly Email me at support@selmaware.com - especially if you bought a license (donation?)!
Hope this helps,
Martin Hebel (StampPlot Developer)
@LINE (L0),Last_Value,(T0),Current_Value,(BLACK)
Good luck !
Martin
- run the first plot
- copy the plot image to drawing page 1
- reset
- plot on page 1 for 2nd plot
- copy the image to page 0
- reset
- plot on page 0 for third plot
May have to try this one...
Martin