wh201906 / SerialTest

Data transceiver(monitor)/realtime plotter/shortcut/file transceiver over serial port/Bluetooth/network on Windows/Linux/Android/macOS | 跨平台串口/蓝牙/网络调试助手,带数据收发/实时绘图/快捷发送/文件收发面板,可在PC和Android设备上使用
GNU General Public License v3.0
1.12k stars 217 forks source link

addition of option "scatter w/o lines" #45

Closed jojo535275 closed 9 months ago

jojo535275 commented 10 months ago

Hello,

First, thanks a lot for this great tool ! I am using it to monitor an serial output from an FPGA.

Using the serial plotter! When i send as x axis a sin(x) and as y axis a cos(x) i get the following plot. Capture

Here i will prefer to see an empty circle ( classic Lissajous figures ) ! Will it be possible to add in the plot tab (next to "scatter") option, a new option of scatter with no lines joining the points of the curve !

Can be named "scatter without lines" , "scatter w/o lines" or "scatter line free" ?

Thanks and have a nice day.

wh201906 commented 10 months ago

That's on my todo list. I need a different graph type in qcustomplot to implement that.

jojo535275 commented 10 months ago

I was think looking at setting the color to fully transparent (alpha=0) in plottab.cpp

So when the "new option" is ticked, we could execute something like: currGraph->setPen(QPen(QColor(0, 0, 0, 0))); // Set the line color to fully transparent

But take your time to do it you way ;-)

wh201906 commented 10 months ago

That's a really good idea! It's much more easier to implement it. Thanks!

wh201906 commented 9 months ago

Sorry to have kept you waiting so long. It's finished. 图片 This feature is in the next release. However, if you want to use it now, you can check the CI builds. The artifacts contain the app and its dependencies. https://github.com/wh201906/SerialTest/actions/runs/6945872771

jojo535275 commented 9 months ago

hello,

Thanks a lot for this update. It works great! If you want, you can have a look at how the Icestudio community will use your tool to have fun with their fpgas ;-).

wh201906 commented 9 months ago

The latest release is out https://github.com/wh201906/SerialTest/releases/tag/V0.3.3

jojo535275 commented 9 months ago

Thanks for this one !

have a nice sunday!