summaryrefslogtreecommitdiff
path: root/lib/zplot9.f90
diff options
context:
space:
mode:
authorIain R. Learmonth <irl@debian.org>2015-10-18 17:55:15 +0100
committerIain R. Learmonth <irl@debian.org>2015-10-18 17:55:15 +0100
commitc720a3d55c5ec832c29cb7ce50b6fb4b70c55b11 (patch)
treeecf89ef5fb2aa173119808e84e6d2e4cc15b962c /lib/zplot9.f90
Imported Upstream version 1.1.r3496upstream/1.1.r3496
Diffstat (limited to 'lib/zplot9.f90')
-rw-r--r--lib/zplot9.f9031
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/zplot9.f90 b/lib/zplot9.f90
new file mode 100644
index 00000000..6c56c9fc
--- /dev/null
+++ b/lib/zplot9.f90
@@ -0,0 +1,31 @@
+subroutine zplot9(s,freq,drift)
+
+ real s(0:8,85)
+ character*1 line(85),mark(0:6)
+ data mark/' ',' ','.','-','+','X','$'/
+ include 'jt9sync.f90'
+
+ write(32,1000) freq,drift
+1000 format('Freq:',f7.1,' Drift:',f5.1,' ',60('-'))
+ do j=8,0,-1
+ do i=1,85
+ n=(s(j,i))
+ if(n.lt.0) n=0
+ if(n.gt.6) n=6
+ line(i)=mark(n)
+ enddo
+ write(32,1010) j,line
+1010 format(i1,1x,85a1)
+ enddo
+ do i=1,85
+ line(i)=' '
+ if(isync(i).eq.1) line(i)='@'
+ enddo
+ write(32,1015)
+1015 format(87('-'))
+ write(32,1020) line
+1020 format(2x,85a1)
+ call flush(32)
+
+ return
+end subroutine zplot9