example of a simple curve plot