← Back to team overview

dolfin team mailing list archive

Re: [Question #149165]: scale plot

 

Question #149165 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/149165

    Status: Open => Answered

Patrick Riesen proposed the following answer:
if you export your solution(s) to Paraview VTK files (.pvd), you can 
read them in in Paraview and make plots and scale the axes independently.

patrick

On 03/15/2011 01:48 PM, Melanie Jahny wrote:
> New question #149165 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/149165
>
> I'd like to plot the solution of my equation (its navier-stokes)
> but my mesh is quiet thin and very large (it's 2D). So it would be more
> clear if I could scale the y-axis in a different scala than the x-axis.
> Is there any possibility in FEniCS to do that? Perhaps there are any
> parameters for the plot-command?
>
> mesh = Rectangle(0,0,155,0.78, 155, 10)
> u = TrialFunction(VectorFunctionSpace(mesh, "CG",2))
>   ....
> plot(u, title="Velocity", rescale=True, axes=True)
>
> It would be great if there was any possibility to do that.
> Thanks for any help!
>

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.