SUN/113.5

Starlink Project
Starlink User Note 113.5

P M Allan
A J Chipperfield
D L Terrett

19 July 1995

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


ADAM Graphics Programmer’s Guide

1.1-6

Programmers’ Manual



Abstract

This guide outlines the options available to a programmer writing an ADAM applications program who wishes to incorporate graphics into the program and describes the routines that handle the necessary interaction with the ADAM parameter system when a graphics device is opened for a GKS based graphics package.

Contents

1 Introduction
2 Application
 2.1 PGPLOT
 2.2 SGS
 2.3 GKS
3 Environment Level Routines
 3.1 SGS routines
 3.2 PGPLOT routines
 3.3 GKS routines
4 Interface Files
5 Error Handling
6 Compiling and Linking
7 Status Values
8 Routine descriptions
GKS_ANNUL – Close a graphics workstation without cancelling the parameter
GKS_ASSOC – Associate a graphics workstation with a parameter, and open it
GKS_CANCL – Close graphics workstation and cancel the parameter
GKS_DEACT – De-activate ADAM GKS
GKS_GSTAT – Inquire whether GKS has reported an error
PGP_ANNUL – Close a graphics workstation without cancelling the parameter
PGP_ASSOC – Associate a graphics workstation with a parameter, and open it
PGP_CANCL – Close a graphics workstation and cancel the parameter
PGP_DEACT – De-activate ADAM PGPLOT
SGS_ANNUL – Close a graphics workstation without cancelling the parameter
SGS_ASSOC – Associate a graphics workstation with a parameter, and open it
SGS_CANCL – Close a graphics workstation and cancel the parameter
SGS_DEACT – De-activate ADAM SGS