Just do a show() at the end. That works for me...
On Wednesday, 7 October 2015 09:50:35 UTC+5:30, halim hamadi wrote: > > I have tried plotting in 3D using PyPlot, and the code are: > > using PyPlot > x = linspace(0,2*pi,1000) > y = sin(3*x + 4*cos(2*x)) > z = [sqrt(i)for i in (x.*x + y.*y)] > grid() > plot3D(x, y, z)# color="red", linewidth=2.0, linestyle="--") > > > but error when running, the graph does not appear. > > any one can help me please? >
