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

Allow independent assignment of axis tick mark length #126

Open
helen-zhu opened this issue May 29, 2023 · 0 comments
Open

Allow independent assignment of axis tick mark length #126

helen-zhu opened this issue May 29, 2023 · 0 comments

Comments

@helen-zhu
Copy link

helen-zhu commented May 29, 2023

It can be useful to independently assign the length of tick marks on axes (e.g. when the labels are too crowded).
Screen Shot 2023-05-29 at 1 36 24 PM

Currently, yaxis.tck takes a vector of length 1 or 2 which controls the tick mark length on the left/right (on create.heatmap but probably generalizable) but presumably, this would be better as two parameters yaxis.tck and yaxis.right.tck where each takes a vector of length 1 or length(yat) which can independently control the length of each tick mark. Also useful for xaxis.tck.

This can be done using scale.components in Lattice and currently, plots can be modified post-creation to accommodate this but would be nice to have as a feature:

https://www.rdocumentation.org/packages/latticeExtra/versions/0.6-29/topics/scale.components

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