Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

graph.h

00001 #include "config.h"
00002 
00003 #ifdef HAVE_LIBPLOTTER
00004 
00005 typedef struct GrapherStruct Grapher;
00006 
00007 extern Grapher* new_grapher ____P((const char *display_type, FILE *out_file, const char *bg_color,
00008                                    const char *bitmap_size, const char *emulate_color,
00009                                    const char *max_line_length, const char *meta_portable,
00010                                    const char *page_size, const char *rotation_angle,
00011                                    bool save_screen));
00012  
00013 extern void delete_grapher ____P((Grapher *multigrapher));
00014  
00015 extern void begin_graph ____P((Grapher *multigrapher, double scale, double trans_x, 
00016                                double trans_y));
00017  
00018 extern void end_graph ____P((Grapher *multigrapher));
00019  
00020 extern void set_graph_parameters ____P((Grapher *multigrapher, double frame_line_width,
00021                                         const char *frame_color, const char *title,
00022                                         const char *title_font_name, double title_font_size,
00023                                         double tick_size, grid_type grid_spec, double x_min,
00024                                         double x_max, double x_spacing, double y_min, double y_max,
00025                                         double y_spacing, bool spec_x_spacing, bool spec_y_spacing,
00026                                         double width, double height, double up, double right,
00027                                         const char *x_font_name, double x_font_size,
00028                                         const char *x_label, const char *y_font_name,
00029                                         double y_font_size, const char *y_label,
00030                                         bool no_rotate_y_label, int log_axis,
00031                                         int round_to_next_tick, int switch_axis_end,
00032                                         int omit_labels, int clip_mode, double blankout_fraction,
00033                                         bool transpose_axes));
00034  
00035 extern void draw_frame_of_graph ____P((Grapher *multigrapher, bool draw_canvas));
00036  
00037 extern void plot_point ____P((Grapher *multigrapher, const Point *point));
00038  
00039 extern void plot_point_array ____P((Grapher *multigrapher, const Point *p, int length));
00040  
00041 extern void end_polyline_and_flush ____P((Grapher *multigrapher)); 
00042 
00043 #endif