00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __IMAGER_GRAPHDSP_H
00009 #define __IMAGER_GRAPHDSP_H
00010
00011
00012 #include <gtk/gtk.h>
00013 #include <gdk_imlib.h>
00014 #include <gdk/gdk.h>
00015
00016 #include "defs.h"
00017
00018
00019 rgbtriplet colortable[16];
00020
00021 int sign(double x);
00022 double decade(double x);
00023 void minimax(double* pmin, double* pmax);
00024 double calcstep(double min, double max, int numticks);
00025 void Frame(GtkWidget* draw, float* xdata, float* ydata, int datapoints, int datasets);
00026 void DrawData(GtkWidget* draw, float* xdata, float* ydata, int datapoints, int datasets);
00027 void g_window_set_title (const char *s);
00028
00029
00030 void graphme (float* xdata, float* ydata, int numpts);
00031 void multi_graphme (float* xdata, float* ydata, int numpts, int datasets);
00032 void graphme_d (double* xdata, double* ydata, int numpts);
00033 void multi_graphme_d (double* xdata, double* ydata, int numpts, int datasets);
00034
00035
00036
00037 #endif
00038