Conditional sampling #999
Unanswered
Karthikksamy
asked this question in
Q&A
Replies: 1 comment
-
I also tried this function, end` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Thanks for sleek tool facontidavide and community. I am getting started with the tool, attempting to skip samples when I plot from a csv file,
for example,
if my data looks like,
event_id, name, cpu
0, p1, 3
0 , p2, 10
0 , p3, 40
1 , p1, 13
1 , p2 , 14
1 , p3 , 41
2 , p1, 3
2 , p2, 10
2 , p3, 40
3 , p1, 13
3 , p2, 14
3 , p3, 41
I want to plot the event_id (x -axis) across cpu (y-axis). when name is p1 or p2 or p3.
I tried creating custom series with function,
function calc(time, value)
filter( data, name == "p1" )
return data
end
That did not help. This is a simple use case, is there any other way to accomplish this
Beta Was this translation helpful? Give feedback.
All reactions