Anil
2018-10-29 19:44:31 UTC
Hi,
Is there a way to use different scales in each panel for facet_grid? I
know, scale="free". but it doesn't work. All y-axis is the same for each
panel.
Let's say I have five different panels (like A, B, C, D, E). In these
panels, for example, I have 8 columns in A panel, 12 columns in B, 5
columns in C, 8 in D, 8 in E.
Let's say, 3 columns have data but 5 columns have zero in A. 11 columns
have data, one is zero in B panel. And I want to show all columns for each
panel (even if zero) but panels have different scales.
And when I tried scales="free_x", only columns which have data, (not zero
ones) come in the figure.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ***@googlegroups.com
To unsubscribe: email ggplot2+***@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is there a way to use different scales in each panel for facet_grid? I
know, scale="free". but it doesn't work. All y-axis is the same for each
panel.
Let's say I have five different panels (like A, B, C, D, E). In these
panels, for example, I have 8 columns in A panel, 12 columns in B, 5
columns in C, 8 in D, 8 in E.
Let's say, 3 columns have data but 5 columns have zero in A. 11 columns
have data, one is zero in B panel. And I want to show all columns for each
panel (even if zero) but panels have different scales.
And when I tried scales="free_x", only columns which have data, (not zero
ones) come in the figure.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ***@googlegroups.com
To unsubscribe: email ggplot2+***@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.