JAS3 examples

These examples are written using the Python/Jython scripting language. To open an example click on the hyperlink below, then choose "Run" from the editor's pop-up menu to run them. For more information see the AIDA User's Guide.

CreateAndPlotHistograms.py Simple example of creating histograms and plotting them.
Fit.py Fits a plot using two different fitters, and compares the result.
CreateAndFitDataPointSet.py Creates an IDataPointSet and then fits it.
HistogramArithmetic.py Examples of performing histogram arithmetic
Cloud.py Simple use of "Clouds" (unbinned histograms)
Tuple.py An example of creating and manipluating an NTuple
ComplexFit.py A more complicated fitting example
ScansAndContour.py Create scans and contours
AccessDataOnMasterTree.py This example shows how to access data on the master tree.
Style1D.py Simple example to set basic styles for 1D plots.
Style2D.py Simple example to set basic styles for 2D plots.
Styles.py This example gives an overview of the available styles on a plot.

DMelt examples

These examples are written using the Python/Jython scripting language on the DMelt computational platform. Most Java classes from the package "jhplot" are supported.

histo1.py Creating histograms and plotting them.
histo2.py Another 1D histogram example.
histo2D.py Creating 2D histogram.
func_1D.py Creating 1D function.
func_2D.py Creating a 2D function.
histo2D_2hf.py Creating a histogram and a function in 3D.
points0.py Data points.
data_p1d_1.py Data points in X-Y (errors can be shown).
p2d_points.py Data points in X-Y-Z (3D case).
io_hfile.py I/O example.