I want to check if this is a bug before I email WR about it.
I can't get ListPlot[] to make scatter plots over a very small area:
n = 40;
c = I + RandomReal[1, n]*(2^-48)*Exp[I*Pi*2*RandomReal[1, n]];
ListPlot[Transpose[{Re[c], Im[c]}]]
Providing an explicit PlotRange returns the exact same plot:
ListPlot[Transpose[{Re[c], Im[c]}], PlotRange -> {{Min[Re[c]], Max[Re[c]]}, {Min[Im[c]], Max[Im[c]]}}]
Subtracting I from c as a workaround yields a plot, but I shouldn't have to do this:
ListPlot[Transpose[{Re[c], Im[c - I]}]]
Is this a bug, or is there some quirk of ListPlot[] that I'm not aware of? Thanks.
Im[c]
evaluates to 1.0 for allc
. Are you sure you're not in some sort of machine-precision-limited situation here? $\endgroup$Im[c] - I
is a complex number, however you may probably want to plot this:Im[c-I]
. $\endgroup$Plot
etc.. Quite weird. $\endgroup$