Changeset 3016 for trunk/python/asapplotter.py
- Timestamp:
- 11/27/14 20:30:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapplotter.py
r2992 r3016 1407 1407 else: 1408 1408 PL.plot_date(t,el,'o', markersize=2, markerfacecolor='b', markeredgecolor='b',tz=tz) 1409 #ax.grid(True) 1410 ax.xaxis.set_major_formatter(timefmt) 1411 ax.xaxis.set_major_locator(majloc) 1412 ax.xaxis.set_minor_locator(minloc) 1409 #ax.xaxis.set_major_formatter(timefmt) 1410 #ax.xaxis.set_major_locator(majloc) 1411 #ax.xaxis.set_minor_locator(minloc) 1413 1412 ax.yaxis.grid(True) 1414 yloc = MultipleLocator(30)1415 1413 ax.set_ylim(0,90) 1416 ax.yaxis.set_major_locator(yloc) 1414 #yloc = MultipleLocator(30) 1415 #ax.yaxis.set_major_locator(yloc) 1417 1416 if tdel > 1.0: 1418 1417 labels = ax.get_xticklabels() … … 1433 1432 else: 1434 1433 PL.plot_date(t,az,'o', markersize=2,markeredgecolor='b',markerfacecolor='b',tz=tz) 1435 ax2.xaxis.set_major_formatter(timefmt) 1436 ax2.xaxis.set_major_locator(majloc) 1437 ax2.xaxis.set_minor_locator(minloc) 1438 #ax2.grid(True) 1434 #ax2.xaxis.set_major_formatter(timefmt) 1435 #ax2.xaxis.set_major_locator(majloc) 1436 #ax2.xaxis.set_minor_locator(minloc) 1439 1437 ax2.set_ylim(0,360) 1440 1438 ax2.yaxis.grid(True) 1441 1439 #hfmt = DateFormatter('%H') 1442 1440 #hloc = HourLocator() 1443 yloc = MultipleLocator(60)1444 ax2.yaxis.set_major_locator(yloc)1441 #yloc = MultipleLocator(60) 1442 #ax2.yaxis.set_major_locator(yloc) 1445 1443 if tdel > 1.0: 1446 1444 labels = ax2.get_xticklabels() 1447 1445 PL.setp(labels, fontsize=10) 1448 PL.xlabel('Time (UT [day])') 1449 else: 1450 PL.xlabel('Time (UT [hour])') 1446 # PL.xlabel('Time (UT [day])') 1447 #else: 1448 # PL.xlabel('Time (UT [hour])') 1449 PL.xlabel('Time (UT)') 1451 1450 1452 1451 PL.ion()
Note:
See TracChangeset
for help on using the changeset viewer.