aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/gplotv.x
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/gio/gplotv.x
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'sys/gio/gplotv.x')
-rw-r--r--sys/gio/gplotv.x22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/gio/gplotv.x b/sys/gio/gplotv.x
new file mode 100644
index 00000000..1d9239e5
--- /dev/null
+++ b/sys/gio/gplotv.x
@@ -0,0 +1,22 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# GPLOTV -- Plot a vector. This routine is provided for the convenience of
+# the user who does not need to exercise fine control over the details of
+# how the plot is generated.
+
+procedure gplotv (v, npts, x1, x2, title)
+
+real v[ARB] # data vector
+int npts # number of data points
+real x1, x2 # range of X in data vector
+char title[ARB] # plot title
+
+pointer gp
+pointer gopen()
+errchk gopen, gploto
+
+begin
+ gp = gopen ("stdgraph", NEW_FILE, STDGRAPH)
+ call gploto (gp, v, npts, x1, x2, title)
+ call gclose (gp)
+end