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

Plot enhancements: percentage of crop area by ET #3

Open
andybell opened this issue May 4, 2017 · 2 comments
Open

Plot enhancements: percentage of crop area by ET #3

andybell opened this issue May 4, 2017 · 2 comments
Assignees

Comments

@andybell
Copy link
Collaborator

andybell commented May 4, 2017

  1. Label crops directly on plot
  2. add vertical line after landuse to separate form ET est.
  3. Order crop stack by percentage of areas (look at ggplot code for pie chart)
@andybell
Copy link
Collaborator Author

andybell commented May 5, 2017

Changing the stack order of the barcharts turn out to be a bit of a pain - ggplot sets plot order based on the factor levels. To get around this each model has to be plot separately and then combine using grid arrange. This may limit the control of the appearance. For example, the Landuse bar is skinnier than the rest of the bars since the dimensions of the plot include the y-axis and the y label.

Labels for crops are placed directly on plot and removes the legend

No vertical line was added yet to visually separate landuse from the models. There is likely a way to do this in R but the method I tried was being problematic.

barchar_order_percentage

@jessejanko
Copy link

jessejanko commented May 5, 2017

I like the labels and coloring, but I think I preferred the original chart where the same crops were aligned across models:
image
Maybe we could keep that parallel alignment and stack based on the Land Use Area column?

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

3 participants