improved plot curves