The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 histogram
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

etienne

Lausanne,VD,Suisse
1 Posts

Posted - 11/30/1998 :  7:56:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I would to automaticaly plot a histogram
from a resultat_ietspike data set,the commands:
create resultat_histo -n 200;
resultat_histo=histogram(resultat_ietspike,1,0,200);
edit resultat_histo;

seems to produce nothing why ?

rtoomey

USA
184 Posts

Posted - 12/02/1998 :  7:11:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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).]

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000