aboutsummaryrefslogtreecommitdiff
path: root/noao/onedspec/sensfunc/sftitle.x
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /noao/onedspec/sensfunc/sftitle.x
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/onedspec/sensfunc/sftitle.x')
-rw-r--r--noao/onedspec/sensfunc/sftitle.x23
1 files changed, 23 insertions, 0 deletions
diff --git a/noao/onedspec/sensfunc/sftitle.x b/noao/onedspec/sensfunc/sftitle.x
new file mode 100644
index 00000000..50cece9a
--- /dev/null
+++ b/noao/onedspec/sensfunc/sftitle.x
@@ -0,0 +1,23 @@
+include "sensfunc.h"
+
+
+# SF_TITLE -- Make title string for graphs.
+
+procedure sf_title (gp, aperture, function, order, npts, rms)
+
+pointer gp
+int aperture
+char function[ARB]
+int order
+int npts
+real rms
+
+begin
+ call sprintf (GP_TITLE(gp), GP_SZTITLE,
+ "Aperture=%d Function=%s Order=%d Points=%d RMS=%6.4f")
+ call pargi (aperture)
+ call pargstr (function)
+ call pargi (order)
+ call pargi (npts)
+ call pargr (rms)
+end