source: Sophya/trunk/SophyaPI/DemoPIApp/CONTENT@ 3456

Last change on this file since 3456 was 3436, checked in by ansari, 18 years ago

Ajout fichier description CONTENT et MAJ Makefile pour le module DemoPIApp en vue du tag V=2.1, Reza 11/12/2007

File size: 2.0 KB
Line 
1====== SOPHYA/piapp demo scripts and programs ======
2===============================================================
3 (C) LAL-IN2P3/CNRS 1998-2007
4 (C) DAPNIA/CEA 1998-2007
5===============================================================
6
7See http://www.sophya.org and the SOPHYA overview manual and piapp
8user's guide for more information.
9
101/ script demo.pic and associated demo.ppf data file
11 demo script showing general piapp features
12csh> spiapp -exec demo
13OR
14csh> spiapp
15# Execute the piapp command :
16piapp> exec demo.pic
17
182/ script tarc.pic
19 Drawing text, arcs and arrows ...
20piapp> exec demo.pic
21
223/ fft2d.pic and fft2.cc
23 c++ execution in piapp
24piapp> exec fft2d.pic
25
264/ multicurve.pic
27 Drawing example, superposition of several functions
28piapp> exec multicurve
29 OR exec multicurve.pic
30
315/ axel.pic : Some options for axes
32
336/ addelts.pic : How to add some graphic objects (circles, rectangles, text)
34 to a plot, in this case a function plot
35
367/ pnbpays.pic : How to make and draw a bargraph
37
388/ resonance.pic : How to make complex plots/drawings , in this case
39 the resonance curve of an harmonic oscillator, using the piapp
40 scripting capabilities
41
429/ oh_xva_spring.pic : An other example of complex drawing ...
43
4410/ user.cc : example of function which can be called from piapp
4510.a/ Create the shared/loadable object user.so
46csh> make user.so
4710.b/ in piapp, link the module and call the function
48piapp> link user.so user
49piapp> call user
50# --> creates NTuple usernt
51# Can be called again [with different arguments]
52piapp> call user aaa 1 2 bbb
53
54
55
56Loadable modules
57----------------
58piapp capabilities can be extended using loadable modules
59
6011/ exmod.pic , exmodule.cc
6111.a/ Create the loadable module exmodule.so
62csh> make exmodule.so
6311.b/ Execute the script exmod.pic
64 ---> new commands are added to piapp
65
6612/ exmoddrw.pic exmoddrw.cc
67csh> make exmoddrw.so
68 in piapp> exec exmoddrw.pic
69 ---> extends piapp graphic capability by a new drawer
70
71
72
Note: See TracBrowser for help on using the repository browser.