uves_plot.h

00001 /*
00002  * This file is part of the ESO UVES Pipeline
00003  * Copyright (C) 2004,2005 European Southern Observatory
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA
00018  */
00019 
00020 /*
00021  * $Author: amodigli $
00022  * $Date: 2010/09/24 09:32:07 $
00023  * $Revision: 1.10 $
00024  * $Name: uves-4_9_1 $
00025  * $Log: uves_plot.h,v $
00026  * Revision 1.10  2010/09/24 09:32:07  amodigli
00027  * put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data
00028  *
00029  * Revision 1.8  2007/06/06 08:17:33  amodigli
00030  * replace tab with 4 spaces
00031  *
00032  * Revision 1.7  2007/05/22 11:31:35  jmlarsen
00033  * Removed image plotting functionality
00034  *
00035  * Revision 1.6  2006/08/23 15:09:25  jmlarsen
00036  * Added uves_plot_bivectors
00037  *
00038  * Revision 1.5  2006/08/17 13:56:53  jmlarsen
00039  * Reduced max line length
00040  *
00041  * Revision 1.4  2005/12/19 16:17:56  jmlarsen
00042  * Replaced bool -> int
00043  *
00044  */
00045 #ifndef UVES_PLOT_H
00046 #define UVES_PLOT_H
00047 
00048 #include <cpl.h>
00049 
00050 cpl_error_code
00051 uves_plot_initialize(const char *plotter_command);
00052 
00053 cpl_error_code
00054 uves_plot_table(const cpl_table *table, const char *colx, const char *coly,
00055         const char *format, ...)
00056 #ifdef __GNUC__
00057 __attribute__((format (printf, 4, 5)))
00058 #endif
00059 ;
00060 
00061 cpl_error_code
00062 uves_plot_image_rows(const cpl_image *image, int first_row, int last_row, int step, 
00063              const char *xtitle, const char *ytitle, const char *format, ...)
00064 #ifdef __GNUC__
00065 __attribute__((format (printf, 7, 8)))
00066 #endif
00067 ;
00068 
00069 void
00070 uves_plot_bivectors(cpl_bivector **bivectors, char **titles, 
00071             int N, const char *xtitle,
00072             const char *ytitle);
00073 
00074 cpl_error_code
00075 uves_plot_image_columns(const cpl_image *image, int first_column, int last_column, int step, 
00076             const char *xtitle, const char *ytitle, const char *format, ...)
00077 #ifdef __GNUC__
00078 __attribute__((format (printf, 7, 8)))
00079 #endif
00080 ;
00081 
00082 #endif

Generated on 8 Mar 2011 for UVES Pipeline Reference Manual by  doxygen 1.6.1