Ignore:
Timestamp:
12/12/12 20:01:06 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: Yes

JIRA Issue: Yes (Trac-287)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: a new method, asapplotter.plotpointings2

Test Programs:

Put in Release Notes: No

Module(s): asapplotter, sdplot

Description:

a new method, asapplotter.plotpointings2, is created.
This method will be supposed to replace asapplotter.plotpointing
in near future if there's no issue found.
plotpointings2 plots pointing directions of a scantable.
It is possible to plot pointings of different source type, scanno,
ifno, polno, or beamno in different colors by setting the 'colorby'
paramter. When showline=True, the scan pattern is plotted in dotted
line.
This function alway plots pointings on ASAP plotter and works properly
with custom toolbar.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asaplotbase.py

    r2538 r2693  
    5757            self.colormap = c.split()
    5858
    59         self.lsalias = {"line":  [1,0],
    60                         "dashdot": [4,2,1,2],
    61                         "dashed" : [4,2,4,2],
    62                         "dotted" : [1,2],
     59        self.lsalias = {"line":  '-', #[1,0],
     60                        "dashdot": '-.',  #[4,2,1,2],
     61                        "dashed" : '--',  #[4,2,4,2],
     62                        "dotted" : ':',  #[1,2],
    6363                        "dashdotdot": [4,2,1,2,1,2],
    6464                        "dashdashdot": [4,2,4,2,1,2]
     
    9090    def clear(self):
    9191        """
    92         Delete all lines from the plot.  Line numbering will restart from 0.
     92        Delete all lines from the current subplot.
     93        Line numbering will restart from 0.
    9394        """
    9495
Note: See TracChangeset for help on using the changeset viewer.