gals/
ajs_bbd_plot.pro
This procedure produces a surface/contour plot of the bivariate brightness distribution (number of galaxies per unit volume as a function of absolute magnitude and surface brightness)
Routines
ajs_bbd_plot [, bincentres1] [, bincentres2] [, phibbd] [, phibbderr=phibbderr] [, error_contours=error_contours] [, plotfile=plotfile] [, ct=ct] [, show_plot=show_plot] [, band=string] [, title=title] [, xtitle=xtitle] [, ytitle=ytitle] [, colorbartitle=colorbartitle] [, min_log_phi=min_log_phi] [, max_log_phi=max_log_phi] [, choloniewski=choloniewski] [, chol_xrange=fltarr(2)] [, chol_yrange=fltarr(2)] [, cov_mat=cov_mat] [, m1=m1] [, m2=m2] [, weights=weights] [, jackknife=jackknife] [, xrange=xrange] [, yrange=yrange] [, nbins1=nbins1] [, nbins2=nbins2] [, vars=vars] [, zmin=zmin] [, zmax=zmax] [, area=area] [, q0=q0] [, q1=q1]
Main procedure.
ajs_bbd_plot_test, show_plot, _REF_EXTRA=_REF_EXTRA
Test ajs_bbd_plot
Routine details
topajs_bbd_plot
ajs_bbd_plot [, bincentres1] [, bincentres2] [, phibbd] [, phibbderr=phibbderr] [, error_contours=error_contours] [, plotfile=plotfile] [, ct=ct] [, show_plot=show_plot] [, band=string] [, title=title] [, xtitle=xtitle] [, ytitle=ytitle] [, colorbartitle=colorbartitle] [, min_log_phi=min_log_phi] [, max_log_phi=max_log_phi] [, choloniewski=choloniewski] [, chol_xrange=fltarr(2)] [, chol_yrange=fltarr(2)] [, cov_mat=cov_mat] [, m1=m1] [, m2=m2] [, weights=weights] [, jackknife=jackknife] [, xrange=xrange] [, yrange=yrange] [, nbins1=nbins1] [, nbins2=nbins2] [, vars=vars] [, zmin=zmin] [, zmax=zmax] [, area=area] [, q0=q0] [, q1=q1]
Main procedure.
Parameters
- bincentres1 in out optional
Centres of absolute magnitude bins (x-axis). Optional if calculating BBD from m1, m2 and weights
- bincentres2 in out optional
Centres of surface brightness bins (y-axis). Optional if calculating BBD from m1, m2 and weights
- phibbd in optional
Value of phi at bincentres1[i], bincentres2[j]. Not required if calculating BBD from m1, m2 and weights.
Keywords
- phibbderr in optional
1-sigma errors in phibbd: converted to 1-sigma errors in corresponding chi^2, then plotted as dotted/dashed contours. Set /phibbderr, or supply variable, with m1, m2 to calculate then plot errors
- error_contours in optional
Set /error_contours to force plotting of errors (switches off if Choloniewski function is plot)
- plotfile in optional
Destination for output EPS plot
- ct in optional
Color table to use (default 1)
- show_plot in optional
Open EPS plot for display
- band in optional type=string
Name of waveband (for axis titles)
- title in optional
- xtitle in optional
- ytitle in optional
- colorbartitle in optional
- min_log_phi in optional
- max_log_phi in optional
- choloniewski in out optional
If a Choloniewski fit is performed, error contours will not be displayed, unless /error_contours is set
- chol_xrange in optional type=fltarr(2)
xrange for Choloniewski fit (ajs_choloniewski_fit)
- chol_yrange in optional type=fltarr(2)
yrange for Choloniewski fit (ajs_choloniewski_fit)
- cov_mat out optional
Covariance matrix of Choloniewski fit
- m1 in optional
Values of first magnitude for each galaxy (if phibbd empty)
- m2 in optional
Values of second magnitude for each galaxy (if phibbd empty)
- weights in optional
Weight (e.g., 1/Vmax) for each galaxy (if phibbd empty). See ajs_vmax_bbd for more details.
- jackknife in optional
Integer for each galaxy giving the jackknife region in which the galaxy lies
- xrange in optional
Range of plot
- yrange in optional
Range of plot
- nbins1 in optional
Number of bins for BBD calculation from m2 and weights
- nbins2 in optional
Number of bins for BBD calculation from m2 and weights
- vars in optional
See ajs_choloniewski_fit
- zmin in optional
See ajs_choloniewski_fit
- zmax in optional
See ajs_choloniewski_fit
- area in optional
See ajs_choloniewski_fit
- q0 in optional
See ajs_choloniewski_fit
- q1 in optional
See ajs_choloniewski_fit
Examples
ajs_bbd_plot, bincentres1, bincentres2, phibbd
ajs_bbd_plot, m1=abs_mag, m2=surface_brightness, weights=weights
Author information
History: |
11 Jan 2008 Created, Anthony Smith 18 Mar 2008 Added jackknife 25 Mar 2008 Added keywords for Choloniewski fit 7 Apr 2008 Choloniewski included in ajs_vmax_bbd call |
topajs_bbd_plot_test
ajs_bbd_plot_test, show_plot, _REF_EXTRA=_REF_EXTRA
Test ajs_bbd_plot
Parameters
- show_plot
Keywords
- _REF_EXTRA
File attributes
Modifcation date: | Fri Jun 6 08:19:26 2008 |
Lines: | 388 |
Docformat: | rst rst |