[petsc-users] Coloring of -mat_view draw
Dave May
dave.mayhem23 at gmail.com
Mon Sep 5 04:31:45 CDT 2016
On 5 September 2016 at 10:43, Justin Chang <jychang48 at gmail.com> wrote:
> Hi all,
>
> So i used the following command-line options to view the non-zero
> structure of my assembled matrix:
>
> -mat_view draw -draw_pause -1
>
> And I got an image filled with cyan squares and dots. However, if I
> right-click on the image a couple times, I now get cyan, blue, and red
> squares. What do the different colors mean?
>
Red represents positive numbers.
Blue represents negative numbers.
I believe cyan represents allocated non-zero entries which were never
populated with entries (explicit zeroes). Someone will correct me if I am
wrong here regarding cyan...
Thanks,
Dave
> Attached are the images of the two cases:
>
> Thanks,
> Justin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160905/6522e523/attachment.html>
More information about the petsc-users
mailing list