To make themes look exactly like their targets (ggplot2 for example) more detailed control of the looks of plots is needed. For example, I need to change the line width and style of the grid lines. What is the plans regarding such detailed control of the appearance of plots in Plots?
Similar to how foreground colors have cascading defaults set to 'match', I
think I'll probably change border, grid, tick lines, etc to be a
Plots.Stroke, which defaults to match. So 'grid_stroke_vertical' would
match 'grid_stroke' by default, which would match 'foreground_stroke'. The
associated color args would become aliases to the appropriate stroke arg.
You would be able to pass any valid inputs to the 'stroke' method, and the
remainder would get defaults.
Then we just need to support everything in the backends...
On Friday, June 3, 2016, Patrick Kofod Mogensen [email protected]
wrote:
To make themes look exactly like their targets (ggplot2 for example) more
detailed control of the looks of plots is needed. For example, I need to
change the line width and style of the grid lines. What is the plans
regarding such detailed control of the appearance of plots in Plots?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tbreloff/Plots.jl/issues/296, or mute the thread
https://github.com/notifications/unsubscribe/AA492ifniFQ4R5rU3oKfMcY7OROitCvhks5qH-ulgaJpZM4ItVHI
.
Originally I was weary of even asking because of the whole 5 backend do it in 7 different ways ;)
closing via #1006
Most helpful comment
Similar to how foreground colors have cascading defaults set to 'match', I
think I'll probably change border, grid, tick lines, etc to be a
Plots.Stroke, which defaults to match. So 'grid_stroke_vertical' would
match 'grid_stroke' by default, which would match 'foreground_stroke'. The
associated color args would become aliases to the appropriate stroke arg.
You would be able to pass any valid inputs to the 'stroke' method, and the
remainder would get defaults.
Then we just need to support everything in the backends...
On Friday, June 3, 2016, Patrick Kofod Mogensen [email protected]
wrote: