<div dir="ltr">if you dump the matrix in a file, you can use the spy() command of MATLAB.<div><br></div><div>Mohammad<br><br><div class="gmail_quote">On Sat, Jul 30, 2011 at 6:01 PM, Matthew Knepley <span dir="ltr">&lt;<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sat, Jul 30, 2011 at 11:44 PM, Xuefei (Rebecca) Yuan <span dir="ltr">&lt;<a href="mailto:xyuan@lbl.gov" target="_blank">xyuan@lbl.gov</a>&gt;</span> wrote:<br>

</div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I would like to print out the nonzero structure of the analytic Jacobian through PETSc, is there any example on that?<br></blockquote><div><br></div></div><div>-mat_view_draw?</div><div><br></div><div>   Matt</div><div class="im">

<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks very much!<br>
<font color="#888888"><br>
Xuefei (Rebecca) Yuan<br>
Postdoctoral Fellow<br>
Lawrence Berkeley National Laboratory<br>
Tel: <a href="tel:1-510-486-7031" value="+15104867031" target="_blank">1-510-486-7031</a><br>
<br>
<br>
</font></blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>

-- Norbert Wiener<br>

</font></blockquote></div><br></div></div>