Added support for plots with multiple yaxes