aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/lib/geogmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/images/lib/geogmap.h')
-rw-r--r--pkg/images/lib/geogmap.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkg/images/lib/geogmap.h b/pkg/images/lib/geogmap.h
new file mode 100644
index 00000000..7efc3658
--- /dev/null
+++ b/pkg/images/lib/geogmap.h
@@ -0,0 +1,37 @@
+# Structure definitions for fitting surface graphically
+
+define LEN_GEOGRAPH 10
+
+define GG_NEWFUNCTION Memi[$1] # New function
+define GG_PLOTTYPE Memi[$1+1] # Type of plot
+define GG_OVERPLOT Memi[$1+2] # Overplot previous graph?
+define GG_FITERROR Memi[$1+3] # Error fitting x function
+define GG_CONSTXY Memi[$1+4] # Plot lines of constant x-y
+
+# define plot types
+
+define FIT 1 # plot x y fit
+define XXRESID 2 # x fit residuals versus x
+define XYRESID 3 # x fit residuals versus y
+define YXRESID 4 # y fit residuals versus x
+define YYRESID 5 # y fit residuals versus y
+
+# define the permitted colon commands
+
+define GM_CMDS "|show|projection|refpoint|fitgeometry|function|\
+order|xxorder|xyorder|yxorder|yyorder|xxterms|yxterms|reject|maxiter|"
+
+define GMCMD_SHOW 1
+define GMCMD_PROJECTION 2
+define GMCMD_REFPOINT 3
+define GMCMD_GEOMETRY 4
+define GMCMD_FUNCTION 5
+define GMCMD_ORDER 6
+define GMCMD_XXORDER 7
+define GMCMD_XYORDER 8
+define GMCMD_YXORDER 9
+define GMCMD_YYORDER 10
+define GMCMD_XXTERMS 11
+define GMCMD_YXTERMS 12
+define GMCMD_REJECT 13
+define GMCMD_MAXITER 14