What is wrong with this plot?

I’ve calculated the eigen functions of a certain operator, one of the calculated eigen functions is plotted below with the plot() function. What are the white marks in the region where the function is supposed to be very small?

How can I make this go away? Is this due to a problem with the calculated eigen function? I do to make it go away?

You Need to produce a minimal working code example, such that one can reproduce your issue, see Read before posting: How do I get my question answered?

1 Like

It looks like numerical noise. Unfilled areas in matplotlib plots are typically indicative of NaN entries.

If you want help as @dokken has stated, please succinctly articulate the operator you’re attempting to discretise, and the methods you’ve employed to do so.

I suspect you’re either plotting one of the trivial eigenvectors corresponding to the DoFs set for BCs, or your system is ilposed.