What should I do if the two plots are based on completely different
geoms?
I would like to draw PlotA on top of PlotB on top of a shared time
axis, where PlotA is the queue length as a function of time, and PlotB
is related to queue utilization and drops. I have developed custom
geoms to plot these two things nicely (for example, I sample queue
size to reduce the number of plot points, then I draw a line for
sampled queue size as well as a polygon to show the minimum and
maximum; for PlotB I shade in certain areas on the plot that can be
interpreted as amount of idleness and amount of drops).
In lattice, I can call xyplot, and tell it to use a custom panel
function for each of the two plots. In ggplot2, how do I tell it to
use different geoms for the two panels?
Damon.