Description Usage Arguments Value Author(s) See Also
This function displays the galaxy mass function (MF) fitted using mffit
.
1 2 3 4 5 6 7  mfplot(mf, nbins = NULL, bin.xmin = NULL, bin.xmax = NULL, bin.type = 1,
xlab = expression("M [M"["sun"] * "]"), ylab = expression(phi ~ "[Mpc"^3
~ "dex"^1 ~ "]"), xlim = NULL, ylim = NULL, show.uncertainties = TRUE,
uncertainty.type = NULL, show.bias.correction = FALSE, add = FALSE,
col = "blue", lwd = 1.5, lty = 1, col.bin = "black",
col.bias.correction = col, lwd.bias.correction = lwd,
lty.bias.correction = 2, margins = c(5.1, 4.1, 4.1, 2.1))

mf 
List produced by 
nbins 
Number of bins to be plotted. This is purely for illustrative purposes. The fitting does not use bins. Choose 
bin.xmin 
Left edge of first bin 
bin.xmax 
Right edge of last bin 
bin.type 
Integer value defining the type of data to be plotted in bins. 1 = plot raw input masses with Veff values evaluted at these masses, subject to Eddington bias. 2 = plot random masses sampled from posterior mass PDF with corresponding values Veff. 3 = posterior source counts using the full posterior mass PDFs of all sources. 
xlab 
xaxis label 
ylab 
yaxis label 
xlim 
2element vector with xaxis plotting limits 
ylim 
2element vector with yaxis plotting limits 
show.uncertainties 
If 
uncertainty.type 

add 
If 
col 
Color of ML fit and uncertainty regions 
lwd 
Line width of ML fit 
lty 
Line type of ML fit 
col.bias.correction 
Line properties of bias corrected MF fit 
lwd.bias.correction 
Line properties of bias corrected MF fit 
lty.bias.correction 
Line properties of bias corrected MF fit 
margins 
Margins (bottom,left,top,right) 
If used as mf = mfplot(mf)
(with nbins=NULL
or nbins>0
), the list mf
is appended an additional entry bin
, containing the binned galaxy data points.
Danail Obreschkow
See examples in dffit
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.