Adding a break in data #848
Unanswered
m-su23-sral
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm plotting sensor data and would like to add breaks in the plot using custom timeseries. Right now, I have the recorded value as well as the sensor state (1 meaning on/valid value, 0 meaning off/noise value) for every time stamp. If the state (v2 below) is 1, I want to return the recorded value (v1); if the state is 0 I want to cause a break in the graph's data.
My function is:
if v2 == 1 then return v1 end return \*SOMETHING*\
I have tried returning
{}
None
andnil
but nothing has worked for what I wanted.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions