get.top.xaxis | R Documentation |
This takes two ggplot objects, steals the bottom x-axis from 2nd object and returns a gtable object with that bottom x-axis per object 1 and top x-axis per object 2
get.top.xaxis(bottom.axis.version, top.axis.version)
bottom.axis.version |
ggplot object with bottom x-axis (get.top.xaxis) |
top.axis.version |
ggplot object with intended top x-axis in bottom position (get.top.xaxis) |
This function returns a ggplot object.
Greg Cicconetti
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.