You can also create your own rules to the data in Vect. In Convert Data panel, s elect 'Insert' from the icon panel and select the ‘To write simple Perl code to convert data’.
Give your rule a descriptive name . Here just follow the name already there “SimpleRule”. It will bring a new rule to the Convert Data panel
If you click on user rule, it will bring up a new window. There are already some simple perl scripts written in it. Select the grey highlighted boxes labeled ‘$input1' and choose rule1 from the new window. . Select the grey highlighted boxes labeled ‘$input2' and choose rule2 from the new window.
You can write your own Perl script in user rule, look for other documents for more information about using perl. Let's say if you want to calculate the average of rule <15LessData>, here is an example of how to write such perl script.
The results are:
Revised by Choongseo Chung
Nov 2005
|