Changeset 2909 for trunk/src/Plotter2.h


Ignore:
Timestamp:
03/24/14 17:32:50 (10 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes:

Module(s): sd

Description: (1) a bug fix in sd.scantable.parse_spw_selection(). modified to get rest frequency value correctly based on molecule ID stored for each spw (the first spectrum having the specified spw in scantable). (2) renamed 'annotation' to 'text' in class or variable names for sd.plotter2.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Plotter2.h

    r2896 r2909  
    1111namespace asap {
    1212
    13 class Plotter2AnnotationInfo {
    14 public:
    15     Plotter2AnnotationInfo();
    16     ~Plotter2AnnotationInfo();
     13class Plotter2TextInfo {
     14public:
     15    Plotter2TextInfo();
     16    ~Plotter2TextInfo();
    1717
    1818    std::string text;
     
    140140
    141141    //annotations
    142     std::vector<Plotter2AnnotationInfo> vAnno;
     142    std::vector<Plotter2TextInfo> vText;
    143143
    144144    // x-label
     
    239239    void setMaskX(const float xmin, const float xmax, const int color, const int fill, const int width, const float hsep, const int inVpid);
    240240    void setArrow(const float xtail, const float xhead, const float ytail, const float yhead, const int color, const int width, const int lineStyle, const float headSize, const int headFillStyle, const float headAngle, const float headVent, const int inVpid, const int inArrowid);
    241     void setAnnotation(const std::string& label, const float posx, const float posy, const float angle, const float fjust, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid, const int inAnnid);
    242     void setLabelX(const std::string& label, const float posx, const float posy, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid);
    243     void setLabelY(const std::string& label, const float posx, const float posy, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid);
    244     void setTitle(const std::string& label, const float posx, const float posy, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid);
     241    void setText(const std::string& text, const float inPosx, const float inPosy, const float angle, const float fjust, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid, const int inTextid);
     242    void setLabelX(const std::string& label, const float inPosx, const float inPosy, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid);
     243    void setLabelY(const std::string& label, const float inPosx, const float inPosy, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid);
     244    void setTitle(const std::string& label, const float inPosx, const float inPosy, const float size, const std::string& style, const int color, const int bgcolor, const int inVpid);
    245245    void setViewportBackgroundColor(const int bgcolor, const int inVpid);
    246246    void plot();
Note: See TracChangeset for help on using the changeset viewer.