Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support custom line styles #60

Merged
merged 8 commits into from
Aug 3, 2019
Merged

support custom line styles #60

merged 8 commits into from
Aug 3, 2019

Conversation

Padanian
Copy link
Contributor

@Padanian Padanian commented Jul 30, 2019

This pull request creates the LineStyle enumeration and adds line style as an argument for PlotScatter, PlotVLine, and PlotHLine. Example use:

plt.PlotScatter(xs, ys, lineStyle: ScottPlot.LineStyle.Dash);

@swharden swharden changed the title penStyles for plottables and update to Legend to reflect penStyle support custom line styles Aug 3, 2019
@swharden swharden merged commit af1afc7 into ScottPlot:master Aug 3, 2019
@swharden
Copy link
Member

swharden commented Aug 3, 2019

Thanks @Padanian this looks great!

@Padanian
Copy link
Contributor Author

Padanian commented Aug 3, 2019

Happy you liked it. Please note that there is one unused variable in Legend.cs named stubHeight that can be safely removed unless for future features.

StendProg pushed a commit to StendProg/ScottPlot that referenced this pull request Mar 16, 2020
support custom line styles - Thanks @Padanian this looks great!
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.

None yet

2 participants