From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- noao/onedspec/sensfunc/sftitle.x | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 noao/onedspec/sensfunc/sftitle.x (limited to 'noao/onedspec/sensfunc/sftitle.x') 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 -- cgit