#include "Obit.h"
#include "ObitErr.h"
#include "ObitThread.h"
#include "ObitInfoList.h"
#include "ObitImage.h"
Go to the source code of this file.
Classes | |
| struct | ObitPlot |
| ObitPlot Class structure. More... | |
| struct | ObitPlotClassInfo |
| ClassInfo Structure. More... | |
Defines | |
| #define | ObitPlotUnref(in) ObitUnref (in) |
| Macro to unreference (and possibly destroy) an ObitPlot returns a ObitPlot* (NULL). | |
| #define | ObitPlotRef(in) ObitRef (in) |
| Macro to reference (update reference count) an ObitPlot. | |
| #define | ObitPlotIsA(in) ObitIsA (in, ObitPlotGetClass()) |
| Macro to determine if an object is the member of this or a derived class. | |
Functions | |
| void | ObitPlotClassInit (void) |
| Public: Class initializer. | |
| ObitPlot * | newObitPlot (gchar *name) |
| Public: Constructor. | |
| void | ObitPlotInitPlot (ObitPlot *in, char *output, ObitErr *err) |
| Public: Initialize plot. | |
| void | ObitPlotFinishPlot (ObitPlot *in, ObitErr *err) |
| Public: Finalize plot. | |
| ObitPlot * | ObitPlotCopy (ObitPlot *in, ObitPlot *out, ObitErr *err) |
| Public: Copy Plot. | |
| gconstpointer | ObitPlotGetClass (void) |
| Public: Return class pointer. | |
| void | ObitPlotXYPlot (ObitPlot *in, gint symbol, gint n, gfloat *x, gfloat *y, ObitErr *err) |
| Public: Simple X-Y plot. | |
| void | ObitPlotXYOver (ObitPlot *in, gint symbol, gint n, gfloat *x, gfloat *y, ObitErr *err) |
| Public: Simple X-Y over plot. | |
| void | ObitPlotXYErr (ObitPlot *in, gint symbol, gint n, gfloat *x, gfloat *y, gfloat *e, ObitErr *err) |
| Public: X-Y plot with error bars. | |
| void | ObitPlotContour (ObitPlot *in, gchar *label, ObitImage *image, gfloat lev, gfloat cntfac, ObitErr *err) |
| Public: Contour plot. | |
| void | ObitPlotMarkCross (ObitPlot *in, ObitImage *image, gint n, gdouble *ra, gdouble *dec, gfloat size, ObitErr *err) |
| Public: Mark positions on Contour plot. | |
| void | ObitPlotCpgenv (ObitPlot *in, gfloat xmin, gfloat xmax, gfloat ymin, gfloat ymax, gint just, gint axis, ObitErr *err) |
| Public: set window and viewport and draw labeled frame. | |
| void | ObitPlotCpglab (ObitPlot *in, gchar *xlabel, gchar *ylabel, gchar *title, ObitErr *err) |
| Public: write labels for x-axis, y-axis, and top of plot. | |
| void | ObitPlotCpgbox (ObitPlot *in, gchar *xopt, gfloat xtick, gint nxsub, gchar *yopt, gfloat ytick, gint nysub, ObitErr *err) |
| Public: draw labeled frame around viewport. | |
| void | ObitPlotCpgsch (ObitPlot *in, gfloat cscale, ObitErr *err) |
| Public: Scaling for characters. | |
| void | ObitPlotCpgslw (ObitPlot *in, gint lwidth, ObitErr *err) |
| Public: Set line width. | |
| void | ObitPlotCpgmtxt (ObitPlot *in, gchar *side, gfloat disp, gfloat coord, gfloat fjust, gchar *text, ObitErr *err) |
| Public: Write text. | |
| void | ObitPlotCpgmove (ObitPlot *in, gfloat x, gfloat y, ObitErr *err) |
| Public: Front end to pgplot routine cpgmove. | |
| void | ObitPlotCpgdraw (ObitPlot *in, gfloat x, gfloat y, ObitErr *err) |
| Public: Front end to pgplot routine cpgdraw. | |
This class is derived from the Obit class.
This contains information about the observations and the size and structure of the data.
|
|
Macro to determine if an object is the member of this or a derived class. Returns TRUE if a member, else FALSE in = object to reference |
|
|
Macro to reference (update reference count) an ObitPlot. returns a ObitPlot*. in = object to reference |
|
|
Macro to unreference (and possibly destroy) an ObitPlot returns a ObitPlot* (NULL).
|
|
|
Public: Constructor.
|
|
|
Public: Class initializer.
|
|
||||||||||||||||||||||||||||
|
Public: Contour plot.
|
|
||||||||||||||||
|
Public: Copy Plot.
|
|
||||||||||||||||||||||||||||||||||||
|
Public: draw labeled frame around viewport. Draw labeled frame around viewport. Annotate the viewport with frame, axes, numeric labels, etc. PGBOX is called by on the user's behalf by PGENV, but may also be called explicitly.
|
|
||||||||||||||||||||
|
Public: Front end to pgplot routine cpgdraw. The line is clipped at the edge of the current window. The new pen position is (X,Y) in world coordinates.
|
|
||||||||||||||||||||||||||||||||||||
|
Public: set window and viewport and draw labeled frame. Set window and viewport and draw labeled frame Set PGPLOT "Plotter Environment". PGENV establishes the scaling for subsequent calls to PGPT, PGLINE, etc. The plotter is advanced to a new page or panel, clearing the screen if necessary. If the "prompt state" is ON (see PGASK), confirmation is requested from the user before clearing the screen. If requested, a box, axes, labels, etc. are drawn according to the setting of argument AXIS.
|
|
||||||||||||||||||||||||
|
Public: write labels for x-axis, y-axis, and top of plot. write labels for x-axis, y-axis, and top of plot Write labels outside the viewport. This routine is a simple interface to PGMTXT, which should be used if PGLAB is inadequate.
|
|
||||||||||||||||||||
|
Public: Front end to pgplot routine cpgmove. No line is drawn.
|
|
||||||||||||||||||||||||||||||||
|
Public: Write text. Write text at a position specified relative to the viewport (outside or inside). This routine is useful for annotating graphs. It is used by routine PGLAB. The text is written using the current values of attributes color-index, line-width, character-height, and character-font.
|
|
||||||||||||||||
|
Public: Scaling for characters. Scaling for characters Set the character size attribute. The size affects all text and graph markers drawn later in the program. The default character size is 1.0, corresponding to a character height about 1/40 the height of the view surface. Changing the character size also scales the length of tick marks drawn by PGBOX and terminals drawn by PGERRX and PGERRY.
|
|
||||||||||||||||
|
Public: Set line width. This attribute affects lines, graph markers, and text. The line width is specified in units of 1/200 (0.005) inch (about 0.13 mm) and must be an integer in the range 1-201. On some devices, thick lines are generated by tracing each line with multiple strokes offset in the direction perpendicular to the line.
|
|
||||||||||||
|
Public: Finalize plot.
|
|
|
Public: Return class pointer. Initializes class if needed on first call.
|
|
||||||||||||||||
|
Public: Initialize plot.
|
|
||||||||||||||||||||||||||||||||
|
Public: Mark positions on Contour plot.
|
|
||||||||||||||||||||||||||||||||
|
Public: X-Y plot with error bars.
|
|
||||||||||||||||||||||||||||
|
Public: Simple X-Y over plot.
|
|
||||||||||||||||||||||||||||
|
Public: Simple X-Y plot. Plot should be initialized with ObitPlotInitPlot before calling. Plot should be finalized with ObitPlotFinishPlot after all drawing on the current frame is finished. This routine draws the frame and adds labels, to only overplot data on the same frame, use ObitPlotXYOver
|
1.3.9.1