Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ft06 Plotting Displacement Problem #71

Open
amandaivl opened this issue Mar 23, 2020 · 2 comments
Open

ft06 Plotting Displacement Problem #71

amandaivl opened this issue Mar 23, 2020 · 2 comments

Comments

@amandaivl
Copy link

Hi,
I'm trying to do the ft06 elasticity demo, but I am getting the following error when I run the program:
*** Warning: Matplotlib plotting backend does not support displacement for 3 in 3. Continuing without plotting...

Furthermore, when I open the image file for "displacement" it seems to be empty. The other two files (magnitude and Von Mises) seem to work fine. Any thoughts on how I can fix this?

I am using Debian 10 and python 3.

Thanks!

@MrOpine
Copy link

MrOpine commented May 23, 2020

install vtkplotter.
Then, try
from vtkplotter.dolfin import plot
done

@OsbertWang
Copy link
Contributor

Hi,
I'm trying to do the ft06 elasticity demo, but I am getting the following error when I run the program:
*** Warning: Matplotlib plotting backend does not support displacement for 3 in 3. Continuing without plotting...

Furthermore, when I open the image file for "displacement" it seems to be empty. The other two files (magnitude and Von Mises) seem to work fine. Any thoughts on how I can fix this?

I am using Debian 10 and python 3.

Thanks!

Hi, I think your code is

# Plot solution
plot(u, title='Displacement', mode='displacement')
plt.savefig('u.png')
plt.cla

Have you fixed this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants