← Back to team overview

dolfin team mailing list archive

[Question #149165]: scale plot

 

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.