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
 Reference line problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AOjuva

11 Posts

Posted - 10/09/2019 :  01:45:22 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2019b
Operating System: Windows 1§0



I have a large dataset from a manufacturing process, with over 12000 lines. I have recorded 6 different variables, and in addition information on which work phase they were added in plus information on ingredients that were added in a similar way.

Phase number is an integer which increases by 1 every time a new phase is started, and phase ingredient increases by 1 every time a new ingredient is added, in the start of a new phase it resets back to 0.

I'd like to plot these data on stacked columns, as shown in the image, and I'd like to highlight each phase by using the reference line feature (alternating grey and white background to easily see the phase change), and further, I'd like to pinpoint each ingredient addition by, e.g., a sharp red line. A problem with the reference line feature seems to be that it cannot handle such huge datasets, its lines go up to axis line 1(128) only.

I have a number of these datasets and was hoping to create a template for a graph that I can use for each current and coming dataset. Any ideas on how to proceed?

YimingChen

1691 Posts

Posted - 10/09/2019 :  10:08:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please check this steps below:
1. You will first find the x values where the phase/ingredient changes. So set column values on col(H) with formula
G[i] == G[i-1] ? 0/0 : A[i]




2. Add reference line at x values from col(H).



Thank you
James

Edited by - YimingChen on 10/09/2019 10:09:27 AM
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