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
 All Forums
 Origin Forum
 Origin Forum
 Reference line problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AOjuva Posted - 10/09/2019 : 01:45:22 AM
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?
1   L A T E S T    R E P L I E S    (Newest First)
YimingChen Posted - 10/09/2019 : 10:08:50 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000