SUN/90.10

Starlink Project
Starlink User Note 90.10

P C T Rees, M J Bly, P T Wallace

7 March 1995

Copyright © 2000 Council for the Central Laboratory of the Research Councils


SNX — Starlink Extensions to the NCAR Graphics Utilities

Version 1.1-1

Programmer’s Manual



Contents

1 Introduction
2 Summary of Calls
3 Linking
 3.1 Use with the UNIX operating system
 3.2 Use with the VAX/VMS operating system
4 Initialising AUTOGRAPH/SGS/GKS
5 Plotting X against Y with AUTOGRAPH
6 AUTOGRAPH Labels
7 Control over Text Font and Character Set
8 AUTOGRAPH Save and Restore
9 AUTOGRAPH and SGS Coordinate Systems
 9.1 Making AUTOGRAPH use the current SGS zone
 9.2 Setting the SGS coordinates to match an AUTOGRAPH plot
 9.3 SGS/AUTOGRAPH coordinate conversions
10 Plotting Character Strings
11 Mixing GKS, SGS and NCAR Plotting
12 Cursor Input
13 References
A Using SNX within ADAM Applications
 A.1 Use with the UNIX operating system
 A.2 Use with the VAX/VMS operating system
B Portability
 B.1 Overview
 B.2 Coding and porting prerequisites
C Demonstration – the XYPLOT Program
 C.1 Fortran source
 C.2 Input file
 C.3 The plot
D Demonstration – the SPEED Program
 D.1 Fortran source
 D.2 Input file
E Demonstration – the INDEMO Program
 E.1 Fortran source
F PWRITX