Changeset 122
- Timestamp:
- 03/12/08 18:47:21
- Files:
-
- sodar/trunk/sodar/arrayData.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sodar/trunk/sodar/arrayData.py
r121 r122 69 69 formattedDataObject = formattedData.FormattedData(rawDataObject) 70 70 arrayDataObject = ArrayData(formattedDataObject) 71 71 72 import pylab as p 72 p.figure() 73 74 home = '/home/cbcoasis/Plots/' 75 76 fig = p.figure() 73 77 p.pcolor(arrayDataObject.uComponents.T) 74 78 p.colorbar() 75 p.figure() 79 fig.savefig(home + 'uComponents.png') 80 81 fig = p.figure() 76 82 p.pcolor(arrayDataObject.vComponents.T) 77 83 p.colorbar() 78 p.figure() 84 fig.savefig(home + 'vComponents.png') 85 86 fig = p.figure() 79 87 p.pcolor(arrayDataObject.wComponents.T) 80 88 p.colorbar() 81 p.figure() 89 fig.savefig(home + 'wComponents.png') 90 91 fig = p.figure() 82 92 p.pcolor(arrayDataObject.echoStrengths.T) 83 93 p.colorbar() 84 p.figure() 94 fig.savefig(home + 'echoStrengths.png') 95 96 fig = p.figure() 85 97 p.quiver(arrayDataObject.uComponents, 86 98 arrayDataObject.vComponents, … … 91 103 p.axis([xmin-0.1*dx, xmax+0.1*dx, ymin-0.1*dy, ymax+0.1*dy]) 92 104 p.title('Horizontal wind vectors: time vs. altitude') 93 p.show()105 fig.savefig(home + 'quiver.png') 94 106 95 107 if __name__ == "__main__":