I am struggling to get the following code to work in Python 3. from mpl_toolkits.mplot3d import Axes3D from mpl_toolkits.mplot3d.art3d import Poly3DCollection import matplotlib.pyplot as plt fig = plt.figure() ax = Axes3D(fig) x = [0,1,1,0] y = [0,0,1,1] z = [0,1,0,1] #verts = [zip(x, y,z)] verts = list(zip(x, y, z)) ax.add_collection3d(Poly3DCollection(verts)) plt.show() The next to last line gives the following error: TypeError: zip argument #1 must support iteration How do I fix this? +0 Code Snippet Multiline temperature plot (Python MatPlot) I used csv data readily available from http://www.weatherdatadepot.com/ to create a multiline plot of the average monthly temperatures of a given location. +1 Code Snippet Printing a polar worksheet To refresh my mind I did some exercises about complex numbers. I was constantly drawing axes and arrows. So I decided to print out some worksheets with a program to make my life a bit easier, and because it is always fun to design a little program to do that for me. Like to share this. Enjoy. This how it can look on the screen. ![Polarsheet.png](/attachments/large/1/9d876fc2d39ccc5c0d6fcf366a09a2a2.png "align-center") The listing just shows the main two classes. In the possiblity that anyone would be interested in the whole project, I might send a zip file. But it should be obvious how to … +2 Let's say I have a 10X10 array that is a multiplication table, multiplied times some arbitrary integer constant. For this example, pretend that constant is 5. So the first row would be 5, 10, ..., 45, 50; the second row would be 10, 20, ..., 90, 100; etc. When doing a color plot, matplotlib numbers both axes by the index number, not the value contained therein. So how would I get this graph to have scales of 10n X 10n, not 10X10, using matplotlib? +0 I am trying to plot a graph in matlab using c++. But the matlab is only giving me an empty graph. void portfolio::viewGraph() { double value; //store portfolio value double time; //store time int i=0,j=1; double cash,p; ifstream in_file("transactionhistory.txt", ios::in); string c; while(in_file>>cash>>p>>c>>c>>c>>c>>c) { value[i]=(p+cash); cout<

The End.