plot_param_vs_param¶
- extinction_ensemble_props.plot_param_vs_param.plot_param_vs_param(ax, datasets, xparam, yparam, fit=False, nouncs=False, showstats=False, show_gd=False, fontsize=16, emphasize_dataset=None)¶
Plot xparam versus yparam for the specific datasets.
Parameters¶
- axmatplottlib.axes
matplotlib axes object for the plot
- datasetslist
list of the datasets to plot
- xparamstring
name of the parameter to be plot on the x-axis
- yparamstring
name of the parameter to be plot on the y-axis
- nouncsboolean
set to not show error bars if sample size is >50 [default=False]
- fitboolean
set to fit a line [default=False]
- showstatsboolean
print the statistics for each dataset [default=False]
- show_gdboolean
set to show the gas-to-dust ratio if xparam/yparam are appropriate [default=False]
- fontsizeint
base fontsize to use
- emphasize_datasetstring
give the name of a dataset to emphasize with increased alpha, other datasets will have a low alpha