source: tags/release-1.0.6/src/Utils/mycpgplot.hh @ 1391

Last change on this file since 1391 was 193, checked in by Matthew Whiting, 18 years ago

Fixes related to negative searches:

  • Recon array is now inverted if read in from file rather than calculated.
  • Threshold reported is given the appropriate sign.
  • Label on the image brightness wedge is presented better.
File size: 1.1 KB
Line 
1#ifndef MYCPGPLOT_H
2#define MYCPGPLOT_H
3#include <string>
4namespace mycpgplot
5{
6
7  enum COLOUR {WHITE=0, BLACK, RED, GREEN, BLUE, CYAN, MAGENTA, YELLOW,
8               ORANGE, GREENYELLOW, GREENCYAN, BLUECYAN, BLUEMAGENTA,
9               REDMAGENTA, DARKGREY, LIGHTGREY, DARKGREEN};
10
11  enum INVERSE {XS_BLACK, XS_WHITE};
12
13  inline void setDarkGreen(){cpgscr(DARKGREEN,0.,0.7,0.);};
14
15  enum LINESTYLE {FULL=1, DASHED, DASHDOT, DOTTED, DASHDOT3};
16
17  enum FILLSTYLE {SOLID=1, OUTLINE, HATCHED, CROSSHATCHED};
18
19  enum SYMBOLS {SOLIDPENT=-5, SOLIDDIAMOND, DOT=1, PLUS, ASTERISK,
20                CIRCLE, CROSS, SQUARE, TRIANGLE, OPLUS, ODOT, FOURSTAR,
21                DIAMOND, STAR, SOLIDTRIANGLE, OPENPLUS, DAVID,
22                SOLIDSQUARE, SOLIDCIRCLE, SOLIDSTAR, LARGESQUARE,
23                CIRCLE1, CIRCLE2, CIRCLE3, CIRCLE4, CIRCLE5, CIRCLE6,
24                CIRCLE7, CIRCLE8, CIRCLE9, LEFT, RIGHT, UP, DOWN};
25
26  const std::string degrees="\\(0718)";
27  const std::string plusminus="\\(2233)";
28  const std::string times="\\(2235)";
29  const std::string tick="\\(2267)";
30  const std::string odot="\\(2281)";
31  const std::string integral="\\(2268)";
32
33}
34
35
36#endif
Note: See TracBrowser for help on using the repository browser.