get.top.xaxis: get.top.xaxis

get.top.xaxisR Documentation

get.top.xaxis

Description

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

Usage

get.top.xaxis(bottom.axis.version, top.axis.version)

Arguments

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)

Value

This function returns a ggplot object.

Author(s)

Greg Cicconetti


figuRes2 documentation built on Sept. 9, 2022, 9:06 a.m.