plot variable number of curves impl-d