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

Stroke and Fill types #50

Closed
tbreloff opened this issue Oct 19, 2015 · 1 comment
Closed

Stroke and Fill types #50

tbreloff opened this issue Oct 19, 2015 · 1 comment

Comments

@tbreloff
Copy link
Member

Right now I've got styles, colors, sizes, and opacity all defined separately, but it might be nice to have internal types Stroke and Fill which hold this info so that I can dispatch on them.

@tbreloff
Copy link
Member Author

tbreloff commented Nov 6, 2015

I decided to keep all components separate internally, but added user-facing stroke (mapping to lines and marker borders) and brush (mapping to area fills and markers), and improved the "magic args":

using Plots
gadfly()
plot(rand(10), l=(3,brush(0,:orange)), m=(20,0.5,:darkgreen,stroke(5,:green)))

tmp

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

No branches or pull requests

1 participant