Functions
Java Analysis Studio comes with a number of default
functions that can be displayed on most plots containing histograms (for example,
functions cannot be added to a srting-binned histogram). Most of these functions are
fittable (see fitters). To define your own functions, see
the documentation provided. Java
Analysis Studio keeps a function registry where it holds all
of the functions that can be added to a plot. The first time you use Java Analysis
Studio, the default functions will be
registered. If you wish to add or remove functions from this list, see the
documentation on changing the function and fitter registries.
Your modifications to the function registry will be saved and loaded next time the
application starts if you have selected the 'Save registries' box in the 'Defaults' tab of the 'Options' dialog. By default, this
option is selected. To use functions in data analysis,
- Select the plot you want to add a function to by clicking the mouse on that plot.
A blue frame indicates the selected plot.
- You can add a function to the plot in three ways.
- The first way is to select the 'Add Function' submenu from the popup
menu (when opened from a histogram plot). You will see a list of the functions
in the function registry. Select one and it will be added.
- The second way is to access the same 'Add Function' submenu, which is also located in
the 'Functions' submenu of the 'Histogram' menu.
- The third way is to open the 'Properties' dialog from
either the popup menu (when opened from a histogram plot) or
the 'Histogram' menu. Select the 'Functions' tab,
and click on the 'Add' button.
- Some functions have advanced options. These are options specific to a certain
function, such as a spline function's smoothness or a polynomial function's order.
The 'Advanced Options...' button on the 'Functions' tab of
the 'Properties' dialog is active when one such function is
selected. Click it to open a dialog box that allows you to set special options for
the selected function. Another way to open the advanced options dialog is to select
the function from the 'Advanced Options' submenu of the popup
menu (when opened from a histogram plot). See the documentation on advanced
options for more information on defining a function that allows the user advanced
options.
- See fitters on fitting curves.
Return to tutorial.
Page maintained by Jonas Gifford.
Last updated 01/14/04.