Skip to content

SignalXY: add support for markers#3609

Merged
swharden merged 7 commits intoScottPlot:mainfrom
Giviruk:SignalXY-add-support-for-markers-#3602
Apr 7, 2024
Merged

SignalXY: add support for markers#3609
swharden merged 7 commits intoScottPlot:mainfrom
Giviruk:SignalXY-add-support-for-markers-#3602

Conversation

@Giviruk
Copy link

@Giviruk Giviruk commented Apr 7, 2024

If I understood correctly, then the solution you propose looks like this. But I'm not sure what's in Drawing.DrawMarkers should be passed pixels, but I haven't quite figured out how I can get the points I need.

@swharden
Copy link
Member

swharden commented Apr 7, 2024

Hi @Giviruk, thanks so much for opening this pull request! I have the code open right now so now that you got the ball rolling, I think I can refine this and merge it in shortly. Thanks again!

@swharden
Copy link
Member

swharden commented Apr 7, 2024

Looks fantastic! This will be in the next release 🚀

var sig = myPlot.Add.SignalXY(xs, ys);
sig.MarkerStyle.Shape = MarkerShape.FilledCircle;

image

@swharden swharden linked an issue Apr 7, 2024 that may be closed by this pull request
@swharden swharden changed the title SignalXY-add-support-for-markers-#3602 SignalXY: add support for markers Apr 7, 2024
@swharden swharden enabled auto-merge April 7, 2024 19:03
@swharden swharden merged commit e70d2f5 into ScottPlot:main Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SignalXY: add support for markers

2 participants