changing line type in plot functions