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

overlap/overwrite axis calls #408

Closed
lindsayplatt opened this issue Oct 24, 2016 · 1 comment
Closed

overlap/overwrite axis calls #408

lindsayplatt opened this issue Oct 24, 2016 · 1 comment
Assignees
Milestone

Comments

@lindsayplatt
Copy link

gs <- gsplot() %>% 
    points(0:1,0:1) %>% 
    axis(side=1, at=c(0.5,1)) %>% 
    axis(side=1, at=c(0.25, 0.75))
gs

Should plot have 0.25, 0.5, 0.75, and 1 ticks to match base behavior?

image

Suggestion:

gs <- gsplot() %>% 
    points(0:1,0:1) %>% 
    axis(side=1, at=c(0.5,1)) %>% 
    axis(side=1, at=c(0.25, 0.75), append=TRUE)
gs
  • always assume axis call exists (default) for append/replace
    to not draw axis lines: use lwd=0 and lwd.ticks=1 ??
@jordansread jordansread self-assigned this Oct 24, 2016
@lindsayplatt lindsayplatt added this to the 0.8.0 milestone Oct 24, 2016
jordansread pushed a commit to jordansread/gsplot that referenced this issue Oct 25, 2016
@lindsayplatt
Copy link
Author

closed by #410

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

2 participants