| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168699Image: ubuntu2004
Here is the data plotted with elevation and azimuth as x and y:
Here is the same data transformed into cartesian coordinates. The points seem correct in space, but no surface is present.
Lets try to plot those points with list_plot3d. (gives error)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_12.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cHJpbnQgJ0xldHMgdHJ5IHRvIHBsb3QgdGhvc2UgcG9pbnRzIHdpdGggbGlzdF9wbG90M2QuIChnaXZlcyBlcnJvciknCmxpc3RfcGxvdDNkKHR1cGxlc19jYXJ0KS5zaG93KCk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpdnw1R5/___code___.py", line 3, in <module>
exec compile(u'list_plot3d(tuples_cart).show()' + '\n', '', 'single')
File "", line 1, in <module>
File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/sage/plot/plot3d/list_plot3d.py", line 191, in list_plot3d
return list_plot3d_tuples(v,interpolation_type,texture=texture, **kwds)
File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/sage/plot/plot3d/list_plot3d.py", line 249, in list_plot3d_tuples
raise ValueError, "Two points with same x,y coordinates and different z coordinates were given. Interpolation cannot handle this."
ValueError: Two points with same x,y coordinates and different z coordinates were given. Interpolation cannot handle this.
Lets try to plot only the lower hemisphere. (doesnt look right)
Lets try a points plot of the lower hemisphere.