Readers interested in the Starlink-PGPLOT version should refer to section Starlink-PGPLOT.
To link a program with the Native-PGPLOT library, use the following:
% f77 prog.f -L/star/lib ‘pgplot_link‘
It is currently not possible to use Native PGPLOT with ADAM applications though in future this facility will be provided.
Native-PGPLOT device names are described in the PGPLOT manual. The Native-PGPLOT device names are not the same as those used for other Starlink graphics and it does not support the Starlink device name system. However, substantially the same graphics device types are available (Xwindows, Postscript).
It should be noted that the two PGPLOT systems have different Xwindows device drivers which do
not interact – hence a program using Starlink-PGPLOT and drawing to the ‘xwindows
’ device will not
draw in the same display window as a Native-PGPLOT program drawing to the ‘/XWIN
’
device.
On non-Starlink systems you may have to replace /star
by some other path name to locate
the files referred to in this section.
Binaries of the example programs can be found in /star/bin/examples/pgplot
. They can be run with
a command such as:
/star/bin/examples/pgplot/pgdemon
where n
is between 1 and 17, provided that they have been installed. (They may not have been in
order to save disk space).