If I change $MinPrecision before running ListPlot[{{1, 2}}], there will be a warning in Mathematica 10. But there is no warning in Mathematica 9. Is there a way to avoid this warning?

$MinPrecision = 30;
ListPlot[{{1, 2}}]

N::precsm: "Requested precision 16 is smaller than \$MinPrecision. Using \$MinPrecision instead."

Added: What I wanted to ask is not how to suppress a warning message in general. In fact, I think it is unreasonable for Mathematica 10 to have this warning, because (1) Mathematica 9 does not have it; (2) it is not useful. Off[N::"precsm"] does solve the problem, but some useful warnings may also be suppressed as well.

  • 3
    $\begingroup$ For a single instance you can use Quiet. To suppress the message globally you can use Off[N::"precsm"]. If that solves your problem this should probably be closed. If it does not please edit your question to explain why. $\endgroup$
    – Mr.Wizard
    Commented Sep 3, 2014 at 10:13
  • $\begingroup$ This seems to be a change in ListPlot, perhaps to accurately convert exact data to approximate real data. I would suggest that you report it to Wolfram Research. Probably the internal code should read N[data, Max[16, $MinPrecision]] instead of something like N[data, 16]. $\endgroup$
    – Michael E2
    Commented Sep 4, 2014 at 16:56

1 Answer 1


It is best to do this sort of thing within a Block, so $MinPrecision is not changed globally, but only inside the scope of Block.

I recommend

Block[{$MinPrecision = 30}, Off[N::precsm]; ListPlot[{{1, 2}}]]


Block[{$MinPrecision = 30}, Quiet @ ListPlot[{{1, 2}}]]

will work as well.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.