Skip to content

New marker style: Shape enclosed by a circle (#4963)#4972

Merged
swharden merged 4 commits intoScottPlot:mainfrom
CoderPM2011:feat/NewMarker
Jul 29, 2025
Merged

New marker style: Shape enclosed by a circle (#4963)#4972
swharden merged 4 commits intoScottPlot:mainfrom
CoderPM2011:feat/NewMarker

Conversation

@CoderPM2011
Copy link
Contributor

Added new marker style (shape enclosed by a circle)

  • CircledDot
  • RingedCross
  • RingedEks

I'm not sure the naming is appropriate, so if there's a more appropriate one, please replace it. 😉

Demo Result

image

Demo Code

Coordinates[] pts = Generate.RandomLocations(4);
ScottPlot.Plottables.Markers m1 = formsPlot1.Plot.Add.Markers(
    pts,
    MarkerShape.CircledDot,
    20);
m1.MarkerLineWidth = 3;

pts = Generate.RandomLocations(4);
ScottPlot.Plottables.Markers m2 = formsPlot1.Plot.Add.Markers(
    pts,
    MarkerShape.RingedCross,
    20);
m2.MarkerLineWidth = 3;

pts = Generate.RandomLocations(4);
ScottPlot.Plottables.Markers m3 = formsPlot1.Plot.Add.Markers(
    pts,
    MarkerShape.RingedEks,
    20);
m3.MarkerLineWidth = 3;

resolve #4963

@swharden
Copy link
Member

👏👏👏

I needed this myself a few weeks ago! Serves me right for taking so long to catch up on PRs 🤪

Thanks so much for this new feature @CoderPM2011! It's spot on, and I look forward to reviewing this PR now, merging shortly, and publishing a new set of NuGet packages sometime within the next few weeks.

Thanks again,
Scott

@swharden swharden enabled auto-merge (squash) July 29, 2025 20:20
@swharden swharden merged commit ddd1125 into ScottPlot:main Jul 29, 2025
3 checks passed
@CoderPM2011 CoderPM2011 deleted the feat/NewMarker branch July 29, 2025 23:19
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.

New marker style: circle with dot or eks inside

2 participants