Click here to Skip to main content
15,902,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Suppose there is a csv file that contains columns time,x,y. And at specific instant it is required to mark a point in the y vs x graph. This point keeps changing as one keeps reading row after row. Like you read a row and mark a point then you read next row and mark a new point with the time column being taken into account. Like if you read a row with time 2s and you mark it and then a row with 4s as to be marked exactly after 2s of the first one. How could this be done?

Is there any function for that?

What I have tried:

I have tried to plot it but i am able to plot only the entire y vs x graph not instant after instant
Posted
Updated 5-May-20 6:55am
v2
Comments
Richard MacCutchan 5-May-20 12:39pm    
It is done as you describe ... read a row and mark the point, read next row and mark next point, etc.

1 solution

You may have to introduce a pause between each read/draw, otherwise the whole process may be too quick for the human eye to be able to differentiate the distinct steps.
I would try with a pause between 0.1 and 0.3 second, and see if that fits.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900