plot cureves