I want to plot data user defined and reset the graph every 10 seconds. the following code which i used it for that.
But I have failed in this mission.
could you help me please?.
Code: Select all
t=sim.getSimulationTime() if (t%10 == 0)then sim.resetGraph(graphHandle) end