[proFit-list] Batch plotting of vector field plots by script

Kurt Sutter kurt at quansoft.com
Thu Dec 20 22:38:38 CST 2012


Dear Riki

I have just seen that your enquiry has gone unanswered. I apologise for that... Anyway, look at the example files that come with pro Fit. Under 

Example Files/AppleScript/batch processing.applescript

you will find an example for processing files from AppleScript. And under

Example Files/Python/Process Directory.func

you will find a similar Python script.

You can modify any of these scripts to create a plot of each processed file. To get you started with that, use pro Fit recording function from either a script window within pro Fit (hit the recording button in the toolbar of the window) or from AppleScript Editor (again, hit the recording button from the toolbar of the AppleScript Editor window). Once you have started recording, create a plot "by hand" from within pro Fit, and the corresponding scripting commands (in Python or AppleScript) are recorded automatically.

Good luck.

Best regards

Kurt Sutter
QuantumSoft


On 29. Nov 2012, at 12:08, riki <riki80 at rediffmail.com> wrote:

> Hi all,
> 
> I am wondering if there is a way (I'm sure there will be) to plot many (say one hundred) vector or scatter 
> plots by Apple Script. Suppose I have a number of data files with different names and want to plot (2D) 
> from data of column m and column n from each file. Moreover I also want to specify the axes labels, range, 
> legends, etc. I can do all these things with Gnuplot by writing a script. But I do not how to do with Pro Fit. I 
> am preferring plots of Pro Fit because they have very good quality than others. So could anybody tell me 
> how to write a Apple Script (or Python program) to do batch plotting? Please take the case of vector field 
> plots as it is some what more non-trivial. Thanking you.
> 
> Kind Regards,
> Riki 
> 
> 
> Catch India as it happens with the Rediff News App. To download it for FREE, click here
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20121221/ff631326/attachment.html>


More information about the proFit-list mailing list