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
 how to plot every 10th point?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peptide

Canada
Posts

Posted - 07/08/2005 :  11:34:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (origin 7.5):
Operating System: xp pro


I have a timeseries dataset with thousands of points.How do i plot every tenth point, or every 20th point (for example)?

thanks
mark

Mike

USA
357 Posts

Posted - 07/08/2005 :  11:58:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mark,

Here are a couple of options for you (there are certainly others):

Plot your data, then manipulate the Speed Mode settings to reduce the number of plotted points. Speed Mode controls are found on the Size/Speed tab of the Plot Details dialog box (Format:Layer>Size/Speed). Find out more by looking up the Origin Help file topic The Graph: Customizing>Data Plots: General Tips>Speed Mode.

Use the LabTalk mod function in conjunction with the Analysis:Extract Worksheet Data menu command (worksheet is active) to extract every nth data point from your data set. For instance, the expression mod(i-1, 10)==0 would extract every 10th data point from your dataset (i = 1,11,21,31, etc.). You can find documentation on the mod function at Help:Programming index keyword = Mod( ) function.

Mike
OriginLab
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 07/11/2005 :  10:40:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Another possibility is:

- Show the Plot Details dialog by Double-click your
plot, choose DropLines tab, and set the "Skip Points"
setting.

Here, I assume that you are plotting a scatter graph.
If you are making, say Line+Symbol, you can goto
the Line tab in the Plot Deatils, and set the
Draw Line Behind. This will connect points through the
X range though still invisible points are in effect.

OriginLab
Hideo Fujii

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