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

Color implementation #106

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Color implementation #106

wants to merge 25 commits into from

Conversation

etfrogers
Copy link
Contributor

@etfrogers etfrogers commented Feb 22, 2025

This is a (currently partial) implementation of some of the color types. More are planned to follow.

The main reason for starting a partial PR is to ask if the changes to the internal API are reasonable: the removal of the new_plot_n() functions and effective replacement with a generate_data macro.

(Also this has snowballed a bit and led me to try implementing several new plot types as I started trying to reproduce some of the gnuplot demos as my examples - those should probably come as separate PRs at some point)

Addresses #105 #86

@etfrogers etfrogers marked this pull request as draft February 22, 2025 22:47
@etfrogers
Copy link
Contributor Author

Come to think of it, this macro would allow removal of the box_xxx_set_width() functions (simplifying the external API) in favour of a BoxWidth(Vec<f64>) PlotOption

@SiegeLord
Copy link
Owner

Sorry I didn't get to this this weekend. I'll try to look at it soon.

@etfrogers etfrogers changed the title DRAFT Color implementation Color implementation Feb 25, 2025
@etfrogers etfrogers marked this pull request as ready for review February 25, 2025 20:06
@etfrogers
Copy link
Contributor Author

Think this is ready for discussion now (though no rush).

Happy to take feedback: I want to make it work for what you want and need for the project.

@etfrogers
Copy link
Contributor Author

Note that a couple of types are unfinished: these need finishing (if I can work out what they do) or removing.

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.

2 participants