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

Plotting zero surface does not work #19605

Open
sylee957 opened this issue Jun 20, 2020 · 1 comment
Open

Plotting zero surface does not work #19605

sylee957 opened this issue Jun 20, 2020 · 1 comment
Labels

Comments

@sylee957
Copy link
Member

from sympy import *
from sympy.plotting import plot3d

x = Symbol('x')
y = Symbol('y')
plot3d(0, (x, -1, 1), (y, -1, 1))

It gives an error ValueError: Argument Z must be 2-dimensional. that comes from matplotlib

@VBhat97
Copy link
Contributor

VBhat97 commented Feb 12, 2021

Hi @sylee957 !

There is a matplotlib function axes3D.plot_trisurf which accepts all the X,Y,Z inputs in 1D which can be implemented in adding some changes in the _process_series function of plot.py.

I would like to work on this. However, I am a bit confused about what the shape of Z is. Could you please help me by expanding a bit more on this issue?

Thank you

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

No branches or pull requests

2 participants