- Timestamp:
- Aug 15, 2019, 3:03:07 PM (5 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r2549 r2696 10580 10580 10581 10581 for iff in range(Nfiles): 10582 allhgtsea.append(allhgtseav[iff,:].compressed()) 10583 allxhgt.append(allxhgtv[iff]) 10584 allhgtxhgt.append(allhgtxhgtv[iff,:].compressed()) 10585 allpsea.append(allpseav[iff,:].compressed()) 10586 allpxhgt.append(allpxhgtv[iff,:].compressed()) 10587 alldhgtsea.append(alldhgtseav[iff,:].compressed()) 10588 alldhgtxhgt.append(alldhgtxhgtv[iff,:].compressed()) 10589 alldpsea.append(alldpseav[iff,:].compressed()) 10590 alldpxhgt.append(alldpxhgtv[iff,:].compressed()) 10591 alletaw.append(alletawv[iff,:].compressed()) 10592 alletau.append(alletauv[iff,:].compressed()) 10582 if type(allhgtseav[iff,:]) == type(gen.mamat): 10583 allhgtsea.append(allhgtseav[iff,:].compressed()) 10584 allxhgt.append(allxhgtv[iff]) 10585 allhgtxhgt.append(allhgtxhgtv[iff,:].compressed()) 10586 allpsea.append(allpseav[iff,:].compressed()) 10587 allpxhgt.append(allpxhgtv[iff,:].compressed()) 10588 alldhgtsea.append(alldhgtseav[iff,:].compressed()) 10589 alldhgtxhgt.append(alldhgtxhgtv[iff,:].compressed()) 10590 alldpsea.append(alldpseav[iff,:].compressed()) 10591 alldpxhgt.append(alldpxhgtv[iff,:].compressed()) 10592 alletaw.append(alletawv[iff,:].compressed()) 10593 alletau.append(alletauv[iff,:].compressed()) 10594 else: 10595 allhgtsea.append(allhgtseav[iff,:]) 10596 allxhgt.append(allxhgtv[iff]) 10597 allhgtxhgt.append(allhgtxhgtv[iff,:]) 10598 allpsea.append(allpseav[iff,:]) 10599 allpxhgt.append(allpxhgtv[iff,:]) 10600 alldhgtsea.append(alldhgtseav[iff,:]) 10601 alldhgtxhgt.append(alldhgtxhgtv[iff,:]) 10602 alldpsea.append(alldpseav[iff,:]) 10603 alldpxhgt.append(alldpxhgtv[iff,:]) 10604 alletaw.append(alletawv[iff,:]) 10605 alletau.append(alletauv[iff,:]) 10593 10606 10594 10607 # Legend -
trunk/tools/drawing_tools.py
r2662 r2696 13479 13479 hgtsxhgt = adpxhgt[ilab] 13480 13480 dz = len(aetaw[ilab]) 13481 znw = aetaw[ilab][1:dz-1]13481 znw = np.array(list(aetaw[ilab][1:dz-1]) + [0,0]) 13482 13482 13483 13483 plt.plot(znw, hgtssea, linestyle='solid', marker=marks[ilab], linewidth=1.5, markersize=4, \ … … 13510 13510 dz = len(hgtssea) 13511 13511 13512 plt.plot(hgtssea [1:dz], dhgtssea, linestyle='solid', marker=marks[ilab], linewidth=1.5, \13512 plt.plot(hgtssea, dhgtssea, linestyle='solid', marker=marks[ilab], linewidth=1.5, \ 13513 13513 markersize=4, label='$hgt_{sea}^{'+labels[ilab]+'}$', color=cols[ilab]) 13514 13514 # if ilab == 0: … … 13549 13549 if xx < nv: xx = xv 13550 13550 13551 plt.plot(hgtssea [1:dz], dhgtssea, linestyle='solid', marker=marks[ilab], linewidth=1.5, \13551 plt.plot(hgtssea, dhgtssea, linestyle='solid', marker=marks[ilab], linewidth=1.5, \ 13552 13552 markersize=4, label='$p_{sea}^{'+labels[ilab]+'}$', color=cols[ilab]) 13553 13553 # if ilab == 0: … … 13823 13823 hgtsxhgt = adpxhgt[ilab] 13824 13824 dz = len(aetaw[ilab]) 13825 znw = aetaw[ilab] [1:dz-1]13825 znw = aetaw[ilab] 13826 13826 13827 13827 plt.plot(znw, hgtssea, linestyle='solid', marker=marks[ilab], linewidth=1.5, \ … … 13859 13859 dz = len(hgtssea) 13860 13860 13861 plt.plot(hgtssea [1:dz], dhgtssea, linestyle='solid', marker=marks[ilab], \13861 plt.plot(hgtssea, dhgtssea, linestyle='solid', marker=marks[ilab], \ 13862 13862 linewidth=1.5, markersize=4, label='$hgt_{sea}^{'+labels[ilab]+'}$', \ 13863 13863 color=cols[ilab]) … … 13904 13904 if xx < nv: xx = xv 13905 13905 13906 plt.plot(hgtssea [1:dz], dhgtssea, linestyle='solid', marker=marks[ilab], \13906 plt.plot(hgtssea, dhgtssea, linestyle='solid', marker=marks[ilab], \ 13907 13907 linewidth=1.5, markersize=4, label='$p_{sea}^{'+labels[ilab]+'}$', \ 13908 13908 color=cols[ilab])
Note: See TracChangeset
for help on using the changeset viewer.