thanks a lot, everyone :).<br><br><div><span class="gmail_quote">On 2/12/08, <b class="gmail_sendername">Barry Smith</b> <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<br> It is important to remember what the PETSc users manual<br>says<br><br>"PETSc graphics library is not intended to compete with<br>high-quality graphics packages. Instead, it is intended to be<br>easy to use interactively with PETSc programs. We urge users<br>
to generate their publication-quality graphics using a<br>professional graphics package."<br><br> We are not graphics experts, nor do we want to be, or could be.<br><br> Barry<br><br><br><br><br>On Feb 12, 2008, at 2:23 PM, Satish Balay wrote:<br>
<br>> On Tue, 12 Feb 2008, Yujie wrote:<br>><br>>> On 1/23/08, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>><br>>>>> In addition, do you have any better methods to save the sparsity<br>
>>>> structure picture of the matrix? Now, I use "-mat_view_draw" to<br>>>>> do this. However, the speed is very slow and the picture is<br>>>>> small. I want to get a big picture and directly save it to the<br>
>>>> disk? could you give me some advice? thanks a lot.<br>><br>>>> We do not have a better way to make the sparsity picture. I assume<br>>>> you could write something that decides how many pixels to use,<br>
>>> calculates an average occupancy per pixel, and writes a BMP or<br>>>> something.<br>><br>> Couple of notes on this.<br>><br>> - -mat_view_draw can be slow for parallel runs [because all the data<br>
> is moved to proc-0, from where its displayed]. If you wish to speed<br>> up, you can either:<br>> * run it sequentially [depending upon your code, the matrix generated<br>> could be different - so its not suitable]<br>
> * do a binary dump [with MatView() on a binary viewer] - and<br>> then reload this matrix with a sequential code and then do mat_view<br>> [check mat/examples/tests/ex33.c,ex43.c]<br>><br>> - you can use the option '-draw_pause -1' to make the window not<br>
> disappear. Now you can zoom-in & zoom-out [with mouse-left or<br>> mouse-right click]<br>><br>> - Take the snapshot of this window with xv or gnome-screenshot or<br>> other screen-dump tool [ like 'xwd | xpr -device ps > <a href="http://dump.ps">dump.ps</a>']<br>
><br>> - Alternatively you can dump the matrix is matlab format - and use<br>> Matlab visualization tools.<br>><br>> Satish<br>><br>><br><br></blockquote></div><br>