TinkeCell API  1.0.0
C/Python/Octave/Ruby API
C:/Users/Deepak/Projects/TinkerCell/trunk/API/TC_PlotTool_api.h
00001 #ifndef TINKERCELL_TC_PLOTTOOL_API_H
00002 #define TINKERCELL_TC_PLOTTOOL_API_H
00003 
00004 #include "TC_structs.h"
00005 BEGIN_C_DECLS
00006 
00013 TCAPIEXPORT void tc_surface(tc_matrix z, const char* title);
00020 TCAPIEXPORT void tc_plot(tc_matrix data,const char* title);
00027 TCAPIEXPORT void tc_scatterplot(tc_matrix data,const char* title);
00034 TCAPIEXPORT void tc_errorBars(tc_matrix data,const char* title);
00041 TCAPIEXPORT void tc_hist(tc_matrix data,const char* title);
00046 TCAPIEXPORT void tc_closePlots();
00053 TCAPIEXPORT void tc_multiplot(int rows, int cols);
00059 TCAPIEXPORT void tc_holdPlot(int on);
00066 TCAPIEXPORT tc_matrix tc_clusterPlots(int clusters);
00073 TCAPIEXPORT tc_matrix tc_getPlotData(int whichPlot);
00079 TCAPIEXPORT void tc_gnuplot(const char*);
00085 TCAPIEXPORT void tc_savePlot(const char * filename);
00091 TCAPIEXPORT void tc_setLogScale(int);
00096 TCAPIEXPORT void tc_PlotTool_api(
00097         void (*plot)(tc_matrix,const char*),
00098         void (*surface)(tc_matrix, const char*),
00099         void (*hist)(tc_matrix,const char*),
00100         void (*errorBars)(tc_matrix,const char*),
00101         void (*scatterplot)(tc_matrix,const char*) ,
00102         void (*multiplot)(int, int),
00103         void (*hold)(int),
00104         tc_matrix (*enableClustering)(int),
00105         tc_matrix (*plotData)(int),
00106         void (*gnuplot)(const char*),
00107         void (*savePlotImage)(const char *),
00108         void (*logscale)(int));
00109 
00110 END_C_DECLS
00111 #endif
00112 
 All Data Structures