adding in some options for logscales and adding second call for plot