|
|
| plot2D.filename = sys.argv[1] |
| |
|
| plot2D.dataset_name = sys.argv[2] |
| |
|
| plot2D.file = h5py.File(filename, 'r'); |
| |
|
| plot2D.dataset = file[dataset_name] |
| |
|
| plot2D.dimensions = dataset.shape |
| |
|
| plot2D.x = numpy.arange(0, dimensions[0], 1) |
| |
|
| plot2D.y = numpy.arange(0, dimensions[1], 1) |
| |
|
| plot2D.X |
| |
|
| plot2D.Y |
| |
|
| plot2D.fig = matplotlib.pyplot.figure() |
| |
|
| plot2D.ax = fig.gca(projection='3d') |
| |
|
| plot2D.Z = dataset[:,:] |
| |
|
| plot2D.rstride |
| |
|
| plot2D.cstride |
| |
|
| plot2D.cmap |
| |
|
| plot2D.coolwarm |
| |
|
| plot2D.linewidth |
| |
|
| plot2D.antialiased |
| |