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

[Feature Request] Line style #321

Open
DaMilyutin opened this issue Jan 4, 2022 · 1 comment
Open

[Feature Request] Line style #321

DaMilyutin opened this issue Jan 4, 2022 · 1 comment
Labels
enhancement New feature or request feature request
Milestone

Comments

@DaMilyutin
Copy link

What is the feature ?

It would be nice to have not only solid lines but also dashed, dotted or whatever pattern.
I haven't found this in documentation. So, if this functionality exists, consider this issue a request for doc.

(Optional) Why this feature is useful and how people would use the feature ?

There are lots of use cases when you need different line styles to distinguish plots.
Ex. when colors and width is not enough or is less expressive.
This functionality exists in different languages (see links below) so obviously there are a lot of users for this.

(Optional) Additional Information

Examples from other languages.
Matlab: https://www.mathworks.com/help/matlab/creating_plots/specify-line-and-marker-appearance-in-plots.html
Scilab: https://help.scilab.org/docs/5.5.1/en_US/LineSpec.html
Python/matplotlib: https://matplotlib.org/2.0.0/api/lines_api.html
C++/Qt/QCustomPlot: https://www.qcustomplot.com/index.php/tutorials/basicplotting

@38 38 added the enhancement New feature or request label May 4, 2022
@DaMilyutin
Copy link
Author

DaMilyutin commented Jun 12, 2022

I did some research on this. See results
#324

I was away for a while. I'll tell may opinion what seems right for me.
There is old C++ library (2005) called antigraingeometry (AGG).
It is very complee for drawing primitives anf for backend (matplotlib uses AGG).
It will be perfect for plotters backend to take some stuff and functionality from there.
I assume, that floating point coordinates backend is quite important to achieve best results.

BR, Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

2 participants