
To get IDL to call pgplot routines:

Unpack the PGPLOT tar file as usual,
Unpack this file, idlpg.tar, there as well.

Use makemake and make all as usual
   For a linux machinne you may want to choose g77_mine
   to get the shared library to link with g77, otherwise
   this is the same as g77_gcc.

Now you need IDL to be able to find "libpgplot.so",
   the easiest way is to set the environment variable, e.g.

   setenv IDLPGPLOT  /usr/local/pgplot/libpgplot.so  

The .pro files need to be in your IDL path, or you need to 
be working in that directory (as usual).


To add more IDL wrappers, you only need to edit idl-pgplot.c which 
should now reside in ./pgplot/src  

You probably can duplicate routines with the syntax used already.

Then you merely need to make a .pro routine to call the new .c wrapper.
Beware, you need to make libpgplot.so after each change, and you 
need to exit idl, and start again for the new library to be loaded.
This only is necessary when the library has been changed during an
IDL session, and you desire the latest library.


