-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Tick lines #29
Comments
Removing: library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() + ggeasy::easy_remove_x_axis(what = "ticks") Created on 2019-12-06 by the reprex package (v0.3.0) How would you like to change them? Add more? Rotate? |
first of all.....amazing? WTF youre my idol! So there's 3 things I want to do frequently: Remove everything from both axes (numbers and ticklines), change the heavy interval (to go by 10s or 1s or whatev), and 3, easy rotate them. While I'm here I might also give you an idea I had and never built. What if we thought of a plot by pieces, so to have a function called
Wouldn't that solve most needs? That way we could have:
to handle most customizations (except for color but that's another mess). What do u think? |
Remove everything: library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() + ggeasy::easy_remove_axes(what = c("ticks", "text", "title")) Gridlines are on the roadmap, probably an Rotate x axis: library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() + ggeasy::easy_rotate_x_labels(angle = 45, side = "right") As for changing the intervals, I'll work on that. I'll have a think about |
Hi Jon! I was going to open another issue but then realized I had already mentioned about easy-change-intervals. I also just reread about my idea for x_axis, y_axis... I do think it's kind of cool and might want to build it. Would you appreciate a friendly PR? I also do understand that it might be confusing to have different grammars in your package. If you don't want that crap in here, no worries I can build it separately. |
tick line manipulation is also avail via ggalt |
Oh indeed... thanks @yonicd I guess that takes care of the ticks... so only the convo about the x_axis/y-axis functions remain... then this ticket can be closed. |
-- https://twitter.com/VizMonkey/status/1202293678364135425?s=20
@DataStrategist
Do you mean add/remove ticks or grid lines? Both would be suitable.
The text was updated successfully, but these errors were encountered: