Description Usage Arguments Value Author(s) See Also
This function displays a one-dimensional generative distribution function fitted using dffit
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | dfplot(
survey,
xlab = "Observable x",
ylab = expression("Generative distribution function" ~ phi),
ylab.histogram = "Counts",
xlim = NULL,
ylim = NULL,
log = "y",
p = NULL,
veff = NULL,
xpower10 = FALSE,
show.input.data = TRUE,
show.posterior.data = TRUE,
show.data.histogram = FALSE,
show.uncertainties = TRUE,
uncertainty.type = 1,
show.bias.correction = FALSE,
add = FALSE,
scd = NULL,
nbins = NULL,
bin.xmin = NULL,
bin.xmax = NULL,
clip.xmin = NULL,
clip.xmax = NULL,
clip.ymin = NULL,
clip.ymax = NULL,
col.fit = "blue",
lwd.fit = 2,
lty.fit = 1,
col.data.input = "grey",
cex.data.input = 1,
lwd.data.input = 1,
col.data.posterior = "blue",
cex.data.posterior = 1,
lwd.data.posterior = 1,
col.hist = "grey",
col.ref = "black",
lwd.ref = 1,
lty.ref = 2,
col.veff = "#666666",
lwd.veff = 1.5,
lty.veff = 3,
col.scd = "black",
lwd.scd = 1,
lty.scd = 1,
div.line = TRUE,
axes = TRUE,
margins = c(5.1, 4.1, 4.1, 2.1)
)
|
survey |
List produced by |
xlab |
x-axis label |
ylab |
y-axis label |
ylab.histogram |
y-axis label for histogram |
xlim |
2-element vector with x-axis plotting limits |
ylim |
2-element vector with y-axis plotting limits |
log |
String specifying the log-axes as in |
p |
Parameters of a reference distribution function do be over-plotted to the fitted function. Choose |
veff |
Function of x to be plotted over the histogram, if |
xpower10 |
If |
show.input.data |
If |
show.posterior.data |
If |
show.data.histogram |
If |
show.uncertainties |
If |
uncertainty.type |
|
show.bias.correction |
If |
add |
If |
scd |
is an optional N-vector or scalar function specifying a source count density to be plotted over the histogram. |
nbins |
Number of bins to be plotted; must be larger than 0. Choose |
bin.xmin |
Left edge of first bin |
bin.xmax |
Right edge of last bin |
clip.xmin |
Minimum x values to be plotted in models |
clip.xmax |
Maximum x values to be plotted in models |
clip.ymin |
Minimum y values to be plotted in models |
clip.ymax |
Maximum y values to be plotted in models |
col.fit |
Color of fit (see |
lwd.fit |
Line width of fit (see |
lty.fit |
Line type of fit (see |
col.data.input |
Color of binned input data |
cex.data.input |
Size of binned input data |
lwd.data.input |
Line width of binned input data |
col.data.posterior |
Color of binned posterior data |
cex.data.posterior |
Size of binned posterior data |
lwd.data.posterior |
Line width of binned posterior data |
col.hist |
Color of source count histogram |
col.ref |
Color of reference distribution function |
lwd.ref |
Line width of reference distribution function |
lty.ref |
Line type of reference distribution function |
col.veff |
Color of reference function |
lwd.veff |
Line width of reference function |
lty.veff |
Line type of reference function |
col.scd |
Color of source count density function |
lwd.scd |
Line width of source count density function |
lty.scd |
Line type of source count density function |
div.line |
Logical flag specifying if the division line between upper and lower p |
axes |
Logical flag specifying whether to plot axes |
margins |
Margins (bottom,left,top,right) |
Returns the input list survey
with the additional sub-list survey$bin
that contains the binned data.
Danail Obreschkow
For optimized plotting of galaxy mass functions, use the derived function mfplot
. As an example run dfexample(1)
. See examples in dffit
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.