RNAlib-2.1.9
plot_layouts.h
Go to the documentation of this file.
1 
9 #ifndef __VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H__
10 #define __VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H__
11 
12 #include "data_structures.h"
13 #include "naview.h"
14 
15 #ifndef PI
16 #define PI 3.141592654
17 #endif
18 #define PIHALF PI/2.
19 
20 
29 #define VRNA_PLOT_TYPE_SIMPLE 0
30 
39 #define VRNA_PLOT_TYPE_NAVIEW 1
40 
49 #define VRNA_PLOT_TYPE_CIRCULAR 2
50 
51 
64 extern int rna_plot_type;
65 
77 int simple_xy_coordinates(short *pair_table,
78  float *X,
79  float *Y);
80 
101 int simple_circplot_coordinates(short *pair_table,
102  float *x,
103  float *y);
104 
105 
106 #endif