Changeset 3016 for trunk


Ignore:
Timestamp:
11/27/14 20:30:36 (9 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-CAS-6564)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: run sdplot with plottype='azel', zoom-in and out to see if the tick interval is kept proper.

Put in Release Notes: No

Module(s): sdplot, asapplotter

Description: Switched off definition of the manual, fixed tick interval in asapplotter.plotazel(). The tick interval is set automatically by matplotlib.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r2992 r3016  
    14071407        else:
    14081408            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)
    14131412        ax.yaxis.grid(True)
    1414         yloc = MultipleLocator(30)
    14151413        ax.set_ylim(0,90)
    1416         ax.yaxis.set_major_locator(yloc)
     1414        #yloc = MultipleLocator(30)
     1415        #ax.yaxis.set_major_locator(yloc)
    14171416        if tdel > 1.0:
    14181417            labels = ax.get_xticklabels()
     
    14331432        else:
    14341433            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)
    14391437        ax2.set_ylim(0,360)
    14401438        ax2.yaxis.grid(True)
    14411439        #hfmt = DateFormatter('%H')
    14421440        #hloc = HourLocator()
    1443         yloc = MultipleLocator(60)
    1444         ax2.yaxis.set_major_locator(yloc)
     1441        #yloc = MultipleLocator(60)
     1442        #ax2.yaxis.set_major_locator(yloc)
    14451443        if tdel > 1.0:
    14461444            labels = ax2.get_xticklabels()
    14471445            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)')
    14511450
    14521451        PL.ion()
Note: See TracChangeset for help on using the changeset viewer.