plot¶
- pystoned.plot.plot2d(model, x_select=0, label_name='estimated function', fig_name=None, method='MOM')[source]¶
Plot 2d estimated function/frontier
- Parameters:
model – The input model for plotting.
x_select (Integer) – The selected x for plotting.
label_name (String) – the estimator name.
fig_name (String, optional) – The name of figure to save. Defaults to None.
- pystoned.plot.plot3d(model, x_select_1=0, x_select_2=1, fig_name=None, line_transparent=False, pane_transparent=False)[source]¶
Plot 3d estimated function/frontier
- Parameters:
model – The input model for plotting.
x_select_1 (Integer) – The selected x for plotting.
x_select_2 (Integer) – The selected x for plotting.
fun (String, optional) – FUN_PROD (production frontier) or FUN_COST (cost frontier). Defaults to FUN_PROD.
fig_name (String, optional) – The name of figure to save. Defaults to None.
line_transparent (bool, optional) – control the transparency of the lines. Defaults to False.
pane_transparent (bool, optional) – control the transparency of the pane. Defaults to False.