NAME:
	xf52_apmr_allfields
 PURPOSE:
	This program creates plots of XMM 0.5 to 2 Kev flux vs apm r-band mag
	for all fields put together.
	It read the fiels ~xmmssc/public_html/xidops/fields_status.txt,
	and includes any fields with an xmm source list and apm data.
	If there are more than on xmm source lists it aks the user which to use
	The Lockman hole field is not included
 CATEGORY:
	xf52_apmr_allfields[,infile=infile,ps=ps,gif=gif,dmax=dmax]
 CALLING SEQUENCE:
	
 OPTIONAL INPUT KEYWORDS
 	infile: text file containing the file names of inputs. Default is
		~xmmssc/public_html/xidops/fields_status.txt
	dmax: max. offset for matches. Default=5, max=30
	ukst: if set, only use fields with ukst data
	poss1: if set, only use fields with poss1 data
 OPTIONAL OUTPUT KEYWORDS
	ps,gif: if set (either, not both), outputs are ps+'1.ps' or 
		gif+'1.gif', ps+'2.ps' or gif+'2.gif'. otherwise window.
	wfcrange: x & y ranges same as xf52_wfc, so they can be overlaid.
 DEPENDENCIES:
 	The necessary databases should already be made. If a database is 
	missing that field will be ignored.
 RESTRICTIONS

 CALLED PROCEDURES:
 astrolib functions
 rd_to_vector
 
 MODIFICATION HISTORY:
	24-Jan-2001  Original by Suzanne Aigrain

(See /home/xmmssc/soft/idl/pro/xflux_vs_redmag/xf52_apmr_allfields.pro)


Suzanne Aigrain <visitor2@ast.cam.ac.uk>
Last modified: Thu Feb 15 13:05:00 2001