JAS HTML Demonstration Layout


This page is a demonstration of HTML layout features in JAS.

This page must be viewed in JAS in order to see histograms, and the appropriate demonstration data servers must be running. See jas-html-demo.html for instructions.


First, a sample 2D histogram. This is a static histogram; the contents will not change. Note that it is a working JAS plot object and can be manipulated interactively. For instance, right-click on the plot, choose Plot Style, Color Map, Grey Scale to display the histogram as a density plot.

If you have done everything right and the histograms still don't show up, try pressing the reload button in the toolbar (the green curved arrows).

These are the HTML tags used to display this histogram:

      <OBJECT classid="hep.babar.JasExtensions.Plot2D">
	<PARAM name="data"
	 value="Histograms/test/Reference/flat 2D">
      </OBJECT>
    

Note that the full path to the histogram is specified in the "data" parameter, starting from the "Histograms" level. The second component of the directory, "test", is the name in CORBA name service of the DHP requestor. It is also possible to specify a label independent of the name service name by using the full syntax for the --name argument to JasInterfaceServer. Try JasInterfaceServer -h for more information.


Currently, the height of each histogram plot is fixed; this restriction will eventually be removed. However, the width of plots may be selected by placing the plots in a table. The following is an example of this. View the HTML source of this page to see how it works.

Note that these three histograms are updated "live" in the sample accumulator; you should see additional data gradually being accumulated.

Sample one-dimensional histogram
Sample two-dimensional histogram
Sample profile histogram

The ability to specify display attributes of plots (fonts, colors, error bars, etc.) as well as the ability to overlay multiple histograms in one plot will be added shortly.


Maintained by Kevin Rennert, rennert@slac.stanford.edu
Last Modified January 25, 2000