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
 Coloring between vertical lines

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
rebekah.simon99 Posted - 02/18/2016 : 4:22:26 PM
Origin Ver. and Service Release: Originpro 2106, 64b
Operating System: Windows 7, 64b

Hi,

I have some spectral data that I've plotted up as a line graph, but now I need to color in ranges between vertical lines to highlight known spectral bands behind my data. The best I've figured to do is add a vertical line at the left bound of the band, and another at the right bound, but I can't color in between them. I've only seen filling beneath or between curves, which isn't what I need.

Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 02/18/2016 : 5:43:42 PM
Hello,

There are a couple of ways to do it:
1. Click the rectangle object on Tools toolbar (left side of workspace) to add a rectangle at the location.

You can double click to change fill color on Pattern tab. Change unit to scale to adjust position based on x,y axis.
Right click the rectangle and choose Push to back of data so it doesn't block your data.

Another way is that you can add another column in the data sheet.
Fill rows from the start to the end of the range you want fill with color, enter 1.
Then click column header of this new column and drag it into the graph window. It will be plotted as another line plot.
Double click to open Plot Details dialog.
With this line selected on the left side, go to Line tab. Check Fill Area Under Curve and choose Span Vertically broken by missing values.

Go to Pattern tab to change fill color and you can also turn on transparency.

We have a tutorial related to this:
http://www.originlab.com/doc/Tutorials/Multiple-Axis-Breaks

Let me know if this works.

Thanks, Snow

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