3d-Plot not possible, when starting sage from wsl terminal

asked 2024-11-29 15:41:53 +0100

Seyed gravatar image

updated 2024-11-30 09:10:34 +0100

FrédéricC gravatar image

Hi All,

I'm new in sage and installed sage recently. Reading the tutorials I got the problem, that the 3d plot dosent work on my system. Following chatGPT and Copilot I installed different thing and folowed their instructions. THe 3d plot still is not working on my system. Could any one help me with this issue.

Thanks and kind Regards Seyed

edit retag flag offensive close merge delete

Comments

Do you see any errors?

Please try the following simple code:

var('x,y')
p=plot3d(x^2 + y^2, (-2,2), (-2,2))
p.show()

Does your code work on https://sagecell.sagemath.org/?

tolga gravatar imagetolga ( 2024-11-30 06:14:12 +0100 )edit

WorksForMe(TM) both on Sagecell and from a Powershell shell (Sage started by wsl sage).

Could you give details (platform, installation, setup, messages...) ?

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2024-11-30 07:17:41 +0100 )edit