Go to the source code of this file.
Defines | |
#define | NCOORD 100 |
#define | MAXNBIN 100 |
#define | NTICKS 6 |
Functions | |
void | plot_set_limits (const float x[], const float y[], int n, PlotLimits *limits) |
Set limits of the plot. | |
void | plot_increase_limits (PlotLimits *limits) |
Increase plot limits by 10% (or to valid range if min=max). | |
int | inside_plot_limits (float x, float y, PlotLimits limits) |
Test if point is inside plot limits. | |
int | plot_compticks (int nticks, float min, float max, float *first, float *step) |
void | plot_set_device (char *devname) |
Set the DISLIN output device or file from the device name. | |
void | plot_start (Plot *plot, float scale) |
Initialize and set various default quantities for a DISLIN 2D-plot. | |
void | plot_axes (const Plot *plot, char *xlabel, char *ylabel) |
Plot the axes in a DISLIN 2D-plot. | |
void | plot_title (char *string) |
Plot the title strings. | |
void | plot_set_bkgnd (IMAGE2D *bkgndima, Plot *plot, float mincut, float maxcut, int *nx, int *ny, float ***zmat) |
Set a background plot. | |
void | plot_max (const Maxima_Set *maxset, const Plot *plot, const double shift[]) |
Plot max data. | |
void | plot_lens (const SnifsOptics *optics, int nopup, float xppup, float yppup, int nlbda, const float lbda[], int order, const Plot *plot, float lbdaref, float pixsize, int dxnc, double dxcoeff[], const double shift[], double *xmla, double *ymla) |
Plot a lens spectrum onto the CCD. | |
void | plot_lens_tab (const SnifsOptics *optics, float xppup, float yppup, int nlbda, const float lbda[], int order, TABLE *table, const int colid[], int row, float lbdaref, float pixsize, int dxnc, double dxcoeff[], const double shift[], double *xmla, double *ymla) |
Plot a lens spectrum onto the CCD (table storage). | |
void | plot_array_err (const PlotSymbol *symbol, float x[], float y[], int n, float dx[], float dy[]) |
DISLIN curve with errors. | |
void | plot_initialize (Plot *plot, const char *devname, const PlotLimits *limits, const PlotSymbol *symbol, float mincut, float maxcut) |
Initialize a Plot structure. |
Definition in file proc_plot.c.
|
Number of coordinates per line in ASCII output Definition at line 27 of file proc_plot.c. Referenced by plot_lens(), and plot_max(). |
|
Maximum number of bin in background frame histogram Definition at line 30 of file proc_plot.c. Referenced by plot_set_bkgnd(). |
|
Number of ticks on each axis Definition at line 33 of file proc_plot.c. Referenced by plot_axes(). |
|
Set limits of the plot. If the PlotLimits structure has never been set (ie = 0,0,0,0), it is set according to the min and max of the input arrays. Otherwise, it is updated to include these min and max.
Definition at line 52 of file proc_plot.c. References x, PlotLimits::xmax, PlotLimits::xmin, PlotLimits::ymax, and PlotLimits::ymin. Referenced by main(), model_distMLA(), and study_triangulation(). |
|
Increase plot limits by 10% (or to valid range if min=max).
Definition at line 81 of file proc_plot.c. References PlotLimits::xmax, PlotLimits::xmin, PlotLimits::ymax, and PlotLimits::ymin. Referenced by main(), model_distMLA(), and study_triangulation(). |
|
Test if point is inside plot limits.
Definition at line 107 of file proc_plot.c. References x, PlotLimits::xmax, PlotLimits::xmin, PlotLimits::ymax, and PlotLimits::ymin. Referenced by plot_lens(), and plot_max(). |
|
Compute reasonable first and step values to get approx. nticks ticks over range min-max
Definition at line 127 of file proc_plot.c. Referenced by main(), and plot_axes(). |
|
Set the DISLIN output device or file from the device name.
The device name
Definition at line 161 of file proc_plot.c. Referenced by main(), and plot_start(). |
|
Initialize and set various default quantities for a DISLIN 2D-plot.
Definition at line 210 of file proc_plot.c. References Plot::devname, Plot::Limits, plot_set_device(), PlotLimits::xmax, PlotLimits::xmin, PlotLimits::ymax, and PlotLimits::ymin. Referenced by main(), model_distMLA(), and study_triangulation(). |
Here is the call graph for this function:
|
Plot the axes in a DISLIN 2D-plot.
Definition at line 272 of file proc_plot.c. References Plot::Limits, Plot::maxcut, Plot::mincut, NTICKS, plot_compticks(), PlotLimits::xmax, PlotLimits::xmin, PlotLimits::ymax, and PlotLimits::ymin. Referenced by main(), model_distMLA(), and study_triangulation(). |
Here is the call graph for this function:
|
Plot the title strings.
4*lg_ident+1 ) contains the (up to 4) title chunks separated with newlines.
Definition at line 310 of file proc_plot.c. Referenced by main(), model_distMLA(), and study_triangulation(). |
|
Set a background plot.
Definition at line 345 of file proc_plot.c. References histo_threshold(), Plot::Limits, Plot::maxcut, MAXNBIN, Plot::mincut, subframe_histo(), PlotLimits::xmax, PlotLimits::xmin, PlotLimits::ymax, and PlotLimits::ymin. Referenced by main(). |
Here is the call graph for this function:
|
Plot max data.
Definition at line 429 of file proc_plot.c. References PlotSymbol::color, Plot::devname, inside_plot_limits(), Plot::Limits, NCOORD, PlotSymbol::shape, PlotSymbol::size, Plot::Symbol, and x. Referenced by main(). |
Here is the call graph for this function:
|
Plot a lens spectrum onto the CCD.
Definition at line 530 of file proc_plot.c. References blaze_function(), PlotSymbol::color, Plot::devname, SnifsOptics::filter, SnifsOptics::grism, inside_plot_limits(), Plot::Limits, NCOORD, PlotSymbol::shape, PlotSymbol::size, snifs_optics_CCD2MLA(), snifs_optics_MLA2CCD(), and Plot::Symbol. Referenced by main(). |
Here is the call graph for this function:
|
Plot a lens spectrum onto the CCD (table storage).
Definition at line 662 of file proc_plot.c. References SnifsOptics::filter, snifs_optics_CCD2MLA(), and snifs_optics_MLA2CCD(). Referenced by main(). |
Here is the call graph for this function:
|
DISLIN curve with errors.
Definition at line 715 of file proc_plot.c. References PlotSymbol::color, PlotSymbol::shape, PlotSymbol::size, and x. Referenced by main(). |
|
Initialize a Plot structure.
Definition at line 758 of file proc_plot.c. References PlotSymbol::color, Plot::devname, Plot::Limits, Plot::maxcut, Plot::mincut, PlotSymbol::shape, PlotSymbol::size, Plot::Symbol, PlotLimits::xmax, PlotLimits::xmin, PlotLimits::ymax, and PlotLimits::ymin. Referenced by main(), model_distMLA(), and study_triangulation(). |