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
When trying to use geom_tile for categorical variables, AFAIK there is no way to make tiles bigger than the original size without overlapping.
Ideally, the axis would respond to the tile size and adjust the spacing between the entries. Alternatively, there could be an option in scale_*_discrete to control spacing between the categories.
This enables the creation of charts with bigger tiles without them overlapping like below:
The text was updated successfully, but these errors were encountered:
If you wish to see lager tiles you can just add + ggsize(w,h) to make the plot and tiles larger without tile overlapping.
Also, tiles are square because by default geom_tile applies coord_fixed. You can override this default however by adding + coord_cartesian() to the plot.
That sounds reasonable. I guess we implemented fixed coordinates as a default for tile geometry with geom_bin2d in mind, but for tiles in general it seems like overreach.
When trying to use
geom_tile
for categorical variables, AFAIK there is no way to make tiles bigger than the original size without overlapping.Ideally, the axis would respond to the tile size and adjust the spacing between the entries. Alternatively, there could be an option in
scale_*_discrete
to control spacing between the categories.This enables the creation of charts with bigger tiles without them overlapping like below:
The text was updated successfully, but these errors were encountered: