← Back to team overview

dolfin team mailing list archive

[Question #116670]: plotting function with a singularity (NaN)

 

New question #116670 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/116670

How can I plot a function with an infinite high spike? Can I cut off the value axis somehow?

Here's the error message:
AssertionError: Empty range, please specify vmin and/or vmax

How can I do that?

(function.vector().array() tells me that I have a NaN in one position and floats in all others.)

cheers,

Aron

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.