plot a 2D plane of a 3D solution

Asked by Houdong Hu on 2013-04-09

When we have a 3D solution u, plot(u) is hard to see what happened in the center of the cubic.

Could I just plot a 2D surface of u? then I could see what happened in the center.

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
2013-04-09
Last reply:
2013-05-09
Kent-Andre Mardal (kent-and) said : #1

You can save to "pvd" and have a look at it in Paraview. There you can take
slices
etc.

Kent

On 9 April 2013 09:11, Houdong Hu <email address hidden>wrote:

> New question #226246 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/226246
>
> When we have a 3D solution u, plot(u) is hard to see what happened in the
> center of the cubic.
>
> Could I just plot a 2D surface of u? then I could see what happened in the
> center.
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>

Anders Logg (logg) said : #2

FEniCS no longer uses Launchapd for Questions & Answers. Please
consult the documentation on the FEniCS web page for where and
how to (re)post your question: http://fenicsproject.org/support/

Anders Logg (logg) said : #3

FEniCS no longer uses Launchapd for Questions & Answers. Please
consult the documentation on the FEniCS web page for where and
how to (re)post your question: http://fenicsproject.org/support/

Can you help with this problem?

Provide an answer of your own, or ask Houdong Hu for more information if necessary.

To post a message you must log in.