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
 Coloring between vertical lines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rebekah.simon99

1 Posts

Posted - 02/18/2016 :  4:22:26 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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!

snowli

USA
1390 Posts

Posted - 02/18/2016 :  5:43:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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