Angka
0.0.1
A C library focusing on data manipulation and visualization
|
the library for data visualization More...
Go to the source code of this file.
Data Structures | |
struct | s_color |
color struct More... | |
struct | s_plot_data |
plot data struct More... | |
struct | s_coord_double |
coordinate struct (double) More... | |
struct | s_coord_int |
coordinate struct (integer) More... | |
struct | s_canvas |
canvas struct More... | |
struct | s_figure |
figure struct More... | |
Macros | |
#define | VRGB 255 |
macro of the maximum RGB value More... | |
Typedefs | |
typedef enum e_canvas_type | AgvCanvasType |
canvas numbering for visualization More... | |
typedef struct s_color | AgxColor |
color struct More... | |
typedef struct s_plot_data | AgxPlotData |
plot data struct More... | |
typedef struct s_coord_double | AgxCoordDouble |
coordinate struct (double) More... | |
typedef struct s_coord_int | AgxCoordInt |
coordinate struct (integer) More... | |
typedef struct s_canvas | AgvCanvas |
canvas struct More... | |
typedef struct s_figure | AgvFigure |
figure struct More... | |
Enumerations | |
enum | e_canvas_type { AGV_PLOT, AGV_SCATTER, AGV_IMAGE, AGV_CONTOUR } |
canvas numbering for visualization More... | |
Functions | |
void | agv_color_pallete_set (AgxColor *clr, int index, int r, int g, int b, double a, double val) |
setting the color pallete of imshow canvas More... | |
AgvFigure * | agv_figure_new (int row, int col) |
create a new figure struct (should use agv_subplots instead) More... | |
void | agv_figure_delete (AgvFigure **fig) |
delete a figure More... | |
AgvFigure * | agv_subplots (int row, int col) |
Create a figure with subplots definition. More... | |
AgvCanvas * | agv_set_canvas (AgvFigure *fig, int index) |
select a canvas from the existing figure More... | |
void | agv_plot (AgvCanvas *can, AgxVector *vecx, AgxVector *vecy) |
plotting the data on a line More... | |
void | agv_scatter (AgvCanvas *can, AgxVector *vecx, AgxVector *vecy) |
plotting the data on some scattering bullets More... | |
void | agv_imshow (AgvCanvas *can, AgxMatrix *mat) |
imaging the matrix data More... | |
AgxColor * | agv_color_pallete_canvas_set_size (AgvCanvas *can, int line, int size) |
set the size of color pallete from the existing canvas More... | |
void | agv_xlim (AgvCanvas *can, double min, double max) |
x limit values of the canvas More... | |
void | agv_ylim (AgvCanvas *can, double min, double max) |
y limit values of the canvas More... | |
int | agv_show (AgvFigure *fig) |
construct the figure and show it More... | |
void | agv_set_color_alpha (AgvCanvas *can, int line, int red, int green, int blue, double alpha) |
set the color of plotting and scattering, and image (the color fill) More... | |
void | agv_set_color_alpha_line (AgvCanvas *can, int line, int red, int green, int blue, double alpha) |
set the color of the boundary of scattering sircle and image More... | |
void | agv_set_radius (AgvCanvas *can, int line, int radius) |
set the radius of scattering circle More... | |
void | agv_set_linewidth (AgvCanvas *can, int line, int linewidth) |
set the thick of line, the boundary of image and scattering circle More... | |
void | agv_set_grid (AgvCanvas *can, int boolean) |
true if showing grid, default is false More... | |
the library for data visualization
libagv.a
. #define VRGB 255 |
macro of the maximum RGB value
typedef enum e_canvas_type AgvCanvasType |
canvas numbering for visualization
typedef struct s_coord_double AgxCoordDouble |
coordinate struct (double)
typedef struct s_coord_int AgxCoordInt |
coordinate struct (integer)
typedef struct s_plot_data AgxPlotData |
plot data struct
enum e_canvas_type |
set the size of color pallete from the existing canvas
void agv_color_pallete_set | ( | AgxColor * | clr, |
int | index, | ||
int | r, | ||
int | g, | ||
int | b, | ||
double | a, | ||
double | val | ||
) |
setting the color pallete of imshow canvas
void agv_figure_delete | ( | AgvFigure ** | fig | ) |
delete a figure
AgvFigure* agv_figure_new | ( | int | row, |
int | col | ||
) |
create a new figure struct (should use agv_subplots instead)
plotting the data on some scattering bullets
select a canvas from the existing figure
void agv_set_color_alpha | ( | AgvCanvas * | can, |
int | line, | ||
int | red, | ||
int | green, | ||
int | blue, | ||
double | alpha | ||
) |
set the color of plotting and scattering, and image (the color fill)
void agv_set_color_alpha_line | ( | AgvCanvas * | can, |
int | line, | ||
int | red, | ||
int | green, | ||
int | blue, | ||
double | alpha | ||
) |
set the color of the boundary of scattering sircle and image
void agv_set_grid | ( | AgvCanvas * | can, |
int | boolean | ||
) |
true if showing grid, default is false
void agv_set_linewidth | ( | AgvCanvas * | can, |
int | line, | ||
int | linewidth | ||
) |
set the thick of line, the boundary of image and scattering circle
void agv_set_radius | ( | AgvCanvas * | can, |
int | line, | ||
int | radius | ||
) |
set the radius of scattering circle
int agv_show | ( | AgvFigure * | fig | ) |
construct the figure and show it
AgvFigure* agv_subplots | ( | int | row, |
int | col | ||
) |
Create a figure with subplots definition.
void agv_xlim | ( | AgvCanvas * | can, |
double | min, | ||
double | max | ||
) |
x limit values of the canvas
void agv_ylim | ( | AgvCanvas * | can, |
double | min, | ||
double | max | ||
) |
y limit values of the canvas