add ability to plot non-curved graphs

one more optional parameter to plot non-curved graphs