You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to plot a facet plot. My idea is to display inset plots according to the facet. Here's a reproducible example using mtcars. The idea would be to get density plots for am=0 on the proper (am=0) facet at (0.5, 0.5, 1, 1). Same idea for am=1.
I understand why this is not functioning the way I want it. I am not sure if this should be an acceptable feature request to the library. Ideally, patchwork would automagically realize that the inset has to go on proper panels.
I came up with a solution to individually subset data and return the inset plot to be later used in a layout. I have also asked this question and there is a proposed answer that is a bit more elegant than my method here. I feel that this use case is a somewhat complex functionality that people end up having to customize like here. It would be great if patchwork could handle this internally.
The text was updated successfully, but these errors were encountered:
I am trying to plot a facet plot. My idea is to display inset plots according to the facet. Here's a reproducible example using
mtcars
. The idea would be to get density plots foram=0
on the proper (am=0
) facet at (0.5, 0.5, 1, 1). Same idea foram=1
.p2
I understand why this is not functioning the way I want it. I am not sure if this should be an acceptable feature request to the library. Ideally,
patchwork
would automagically realize that the inset has to go on proper panels.Created on 2023-12-11 with reprex v2.0.2
The expected output would be:
I came up with a solution to individually subset data and return the inset plot to be later used in a layout. I have also asked this question and there is a proposed answer that is a bit more elegant than my method here. I feel that this use case is a somewhat complex functionality that people end up having to customize like here. It would be great if
patchwork
could handle this internally.The text was updated successfully, but these errors were encountered: