For example:
Plot[UnitStep[x - 1], {x, 0, 10}];
returns the correct plot, but
LogLinearPlot[UnitStep[x - 1], {x, 0.01, 10}];
has a slight slope instead of a sharp discontinuity at x=1. We can worsen
the plot by changing the scale
LogLinearPlot[UnitStep[x - 1], {x, 0.01, 1000}];
looks even worse, starting out linearly increasing from .01 to 1.
This problem is obviously caused by the sampled points, as increasing the
PlotPoints option improves the plots.
But, short of that (some of my plots take a long time for each point to be
calculated), has anyone come up with a fix to the LogLinearPlot and
LogLogPlot functions to sample the range logarithmically. (Looking through
the Graphics`Graphics` library, it seems to involve the ScaledPlot
function, but I'm very new to Mathematica programming and quickly find
myself lost trying to understand it.)
Thank you.
--Anthony