nesnes / teleplot-vscode

Teleplot's VSCode extension
MIT License
25 stars 3 forks source link

re-trace over same plot #10

Open agrrobert opened 1 year ago

agrrobert commented 1 year ago

I am plotting xy data representing a spectral waveform. Data is coming from an arduino serial port and teleplot is running in Visual Studio.
I send a string ">plot:x:y:;x1:y1:; (...) x255:y255|xy" and all is well. But when I send the string again, I would like it to overwrite the same plot without plotting the traceback line from 255 back to 0. In other words, I want it to clear the plot and redraw it in place.

I thought the 'g' flag might work, but no. Can this be done? The attached image shows what I mean about the horizontal traceback line.

Capture