- Timestamp:
- Apr 15, 2013, 4:47:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/examples/easy_get_field.py
r930 r931 29 29 # - field dimensions 30 30 # ----------------------------- 31 # ALL DIM == 1 HAVE BEEN SQUEEZED32 # -----------------------------33 31 34 # for instance here, shape of allfield is (3,2)35 # because the user requested 3 files, 2 vars, 0D values36 32 37 tsurf = test.allfield[:,0] 38 asr = test.allfield[:,1] 33 for ii in range(test.nfin): 34 print "tsurf",test.allfield[ii][0][0][0][0][0] 35 print "asr",test.allfield[ii][1][0][0][0][0] 39 36 40 mpl.plot(tsurf,asr)41 mpl.show()37 #mpl.plot(tsurf,asr) 38 #mpl.show()
Note: See TracChangeset
for help on using the changeset viewer.