legend can appear inside plot area