<div class="gmail_quote">On Wed, Jul 11, 2012 at 3:32 PM, Thomas Hisch <span dir="ltr"><<a href="mailto:t.hisch@gmail.com" target="_blank">t.hisch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello list,<br>
<br>
what is the easiest way to 'draw' (PETSC_VIEWER_DRAW_WORLD) a 2D plot<br>
of a petsc vector which was created with MatGetVecsFFTW()? The<br>
employed FFT matrix has DIM=2 and therefore the mentioned vector has<br>
N1*N2 components. As far as I know VecView(x, PETSC_VIEWER_DRAW_WORLD)<br>
only creates a lineplot.<br></blockquote><div><br></div><div>Can the Vec be associated with a DM? If so, it will do a 2D plot.</div></div>