jHepWork Examples
Select the topic
| Annotation | - Annotations, symbols, labels |
| Canvas2D | - show data, functions and histograms in 2D-dimensional canvas (X-Y) |
| Canvas3D | - show data, functions and histograms in 3D (three-dimensional)canvas (X-Y-Z) |
| Cellular automata | - building a cellular automata |
| Clustering analysis | - clustering analysis of data (K-means, fuzzy and other algorithms) |
| Data points | - working with multidimensional data points |
| Jaida | - scientific plots using Jaida libraries |
| JeHEP editor | - Jython macros for code manipulation using jHepWork IDE (jeHEP) |
| Fitting data | - linear and non-linear regression (fitting data) |
| Functions | - working with 2D, 3D functions. Special functions |
| GUI | - combining Swing GUI with canvaces to display data |
| Histograms | - working with histograms (2D and 3D case) |
| Input & Output | - input and output methods (Java,Jython,databases) |
| Image manipulation | - working with images (scripting approach) |
| Neural networks | - building neural networks |
| Multithreading | - parallel computations on multiple cores |
| ROOT | - reading ROOT files using Java |
| Random numbers | - working with random numbers |
| Real life | - real-life examples (advanced) |
| Real time data | - shows real-time data streaming and visualization |
| Shapes in 2D | - drawing 2D shapes |
| Statistics | - statistics and data mining |
| Symbolic calculations | - illustrate symbolic (analytic) calculations |
| Tools | - various tools for scientific plots and data access |
| Wavelets | - example of wavelet analysis |
Note: all examples on this web page are generated automatically for the current unstable release located in the download area. Therefore, if some examples on the page do not work, please upgrade your installation with the current unstable release.
You can run all jHepWork examples using the menu [Tools]-[jHPlot examples]. This bring up a dialog with the list of Jython examples. Select any file and click [Run] (from this dialog). You can find more examples in the directory "macros/examples".
In addition to this, one can run Jython scripts directly from URL links. In the jHepWork IDE, open "File->Read from URL". Copy and pasted a URL link to any of the Jython examples located on this web page, and click "run".
Finally, to access a Jython-jHepWork script library supported by the users (with many features, such as script organization by topics, full-featured server-size search, etc.) you should become a member. You can submit and maintain your script in the jHepWork script database.
Use the jHepWork IDE for your code development (it links all numerical libraries automatically). In addition, you can reuse the libraries located in the directory "lib" for Java programs or applets.
Applets with embedded jHepWork libraries
- A 1D histogram with Gaussian numbers See: Java source code
- A 2D histogram and a function See: Java source code
Some scripting examples
- Making a graph with several histograms
- A graph using the standard java code
- A graph using a BeanShell script
- Editing LaTeX files
(C) S.Chekanov: email:jhepwork@jwork.org