A quick look in figaro3/arc.f indicates the reason why it doesn't work. It
doesn't actually use AGP at all - it just calls PGBEGIN directly with the
supplied device name. No attempt is made to translate from Starlink device
to PGPLOT device name - it relies on GKS PGPLOT simply understanding the
device names.
Mystery solved.
Is it possible to call the AGP translation routine without doing a lot of
unnecessary AGP calls to set things up?
Tim
On Tue, 30 Aug 2005, David Berry wrote:
> Tim,
>
>>>> So, does kappa use gns to translate xwindows to /gwm? I thought GNS
>>>> required GKS?
>>>
>>> The translation is done by AGI (actually AGP to be precise), not KAPPA.
>>> The output from gns_link_adam does indeed include -lgks.
>>>
>>
>> agp_link_adam does not use gns:
>>
>> -lagp_adam -lref -ltrn -lhds -lprm -lprm_a -lpgppar_adam -lpgplot_star
>> -lgwm -L/usr/X11R6/lib -lSM -lICE -lX11 -lerr_adam -lpsx -lchr -lemsf
>> -lems -lcnf
>>
>> so no GNS here (and if there was linking against AGP would require native
>> pgplot and GKS).
>
> When I said "The translation is done by AGI (actually AGP to be precise)"
> I really meant it! That is, the translation is done by AGP. GNS is not
> involved in it. See agp1_trans.f and pgnames.txt.
>
> David
>
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|