Hi!

Using Petsc 3.4.4, compiled to support complex numbers, I'm getting a
completely white figure when plotting a matrix with purely imaginary
elements, using MatView(mat, PETSC_VIEWER_DRAW_WORLD). So I cannot see the
nonzero structure from the plot.

For real matrices (still using the complex-enabled Petsc), I'm getting red
and blue points corresponding to positive and negative elements.

Is it possible to get Petsc to show the nonzero elements of a complex
matrix, by checking the absolute values of each element?

Best regards
Torquil Sørensen

Reply via email to