NAME:
	plot_gh_wfc_cir
 PURPOSE:
       Creates 3 ps files containing R_gh v R_wfc, K_gh v H_cirsi and
	and statistics plots about the matching resp.
	Returns 7 arrays containing xmm no, matching cirsi no & wfc no
	and x and y distance of wfc/cirsi db object to xmm object
 CALLING SEQUENCE:
	result=plot_gh_wfc_cir,xmmdb,cirsidb,wfcdb,xmmno,cirsino,$
	wfcno,cxoff,cyoff,wxoff,wyoff,,outfile=outfile,offmax=offmax,$
	dmin=dmin,dmax=dmax,field=field
 INPUTS:
	xmmdb:The xmm database to be searched. Must start with 'dbase/... '
	cirsidb: The cirsi  "    	"	"	"	"	"
	wfcdb: The WFC 	    "           "       "       "       "       "
	xmm_cat: the source list on which xmmdb is based
	cirsi_cat:	"	"	" cirsi	   "
	wfc_cat:	"	"	" wfc	   "
 OPTIONAL INPUT KEYWORDS:
	offmax: STRING!!!!maximum offax angle of xmm objects to be matched. 
		If not set, all xmm objects are matched 
	dmax:	max distance for a match to be accepted (& included in xoff...)
		if not set, default is 30". In arcsec 
	dmin:	min distance for a match (use to make different set of matches:
		r<5", 5

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


Suzanne Aigrain <visitor2@ast.cam.ac.uk>
Last modified: Thu Feb 15 12:52:03 2001