also a lin log variant of the plotting func