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

Fixed ratio between x and y axes #58

Open
kerdemdemir opened this issue Mar 11, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@kerdemdemir
Copy link

commented Mar 11, 2019

How can I configure a fixed ratio between x and y axes in ggplotd ?

I easily found what I am looking for in ggplot which ggplotd inspires a lot.
http://www.cookbook-r.com/Graphs/Axes_(ggplot2)/

But ggplotd documentation does not have any info about that. Even I go through the source code spend around half a hour I couldn't figure out how to achieve:

sp <- ggplot(dat, aes(xval, yval)) + geom_point()
sp + coord_fixed(ratio=1/3)

Erdem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.