line and function plots