Add Error if wrong or missing curve with rt plot