1.5 Quick start

Select Tools - jHPlot examples. A pop-up table with example Jython files will be shown. If one double clicks on a file name, one should see the jHPlot canvas with example plots.

Similarly, one can run the Jython examples manually. Open any file with the extension .py, .bsh or .java from the directory macros/examples using the File Browser of jHepWork by double-clicking on the file name. Then, click on the run custom command button from the Tool Bar. One can also use the F8 key for fast execution of a script. One should see plots generated by the scripts. Some scripts create PNG figures with the output plots. Try to learn the main jHPlot classes by looking at these examples.

Most examples were written in Jython, since they are significantly shorter than equivalent programs written in Java or BeanShell.

One can also run the standard JAIDA examples. The examples are located in the jaida directory. Run the examples as usual: double click on the corresponding file name and click on the run custom command button of the Tool Bar.