Response to Histogram from etienne
I was able to run your script successfully using both Origin 4.1 and Origin 5.0. Basically what I did was the following:
- I created some random data in column B of a worksheet called Data1
- I copied your script into the script window (Window:Script Window)
- I replaced the name "resultat_ietspike" in the histogram function line of the script with the name "data1_b".
- I highlighted the script and hit Enter
After that, the script ran and a worksheet popped up with the values created by the histogram function placed in a column called Histo.
If you are not getting the same results, then I am not sure what is going wrong. It could be that the data you are working with has some peculiarity to it. However, I would not be able to locate such a thing without seeing the data. At this point, the best thing to do would be to email us and send in the data along with the email. Be sure to provide a detailed explanation of the steps that you are taking to get to the problem, along with your Origin version number and operating system information (Win95, Win 98, WinNT). Also be sure to include your serial number so that we can verify that you are a registered user of our product.
Note: If and when you are able to get your script to run, you can plot the data in resultat_histo by using the 'win -t winType template [winname]' and 'layer -i# dataset' command lines.
Sincerely,
Ryan Toomey
Technical Support engineer
Microcal Software, Inc.
email: tech@microcal.com
[This message has been edited by rtoomey (edited 12-02-98).]
[This message has been edited by rtoomey (edited 12-02-98).]