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 for Programming
 LabTalk Forum
 howto: histograms with labtalk script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

RobertWeng

Germany
Posts

Posted - 07/06/2006 :  06:44:41 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 6.0
Operating System: Win XP

hi,
i have a question regarding the generation of histograms within a labtalk script.

labtalk help returns a function named histogram(dataset, inc, min, max).
however, the documentation is rather sparse and when i tried to use it, nothing happend.

since i have to generate several hundreds of histograms manual generation with plot-->statistical graphs --> histogram is not a feasible option...

can anybody help me, please?
thnx,
robert

Deanna

China
Posts

Posted - 07/07/2006 :  01:33:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Robert. The function histogram(dataset, inc, min, max) can generate the histogram for you. However, you must assign a dataset to store the result. For example, you can use it like this:

data2_b=histogram(data2_a, 0.5, 0, 2)

Deanna
OriginLab GZ Office
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