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
 Filling area under curve with gradient
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

dwolfe

USA
2 Posts

Posted - 08/24/2021 :  09:04:31 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,

I have x,y data that is related to the spectral output of various emission sources. I want to fill the area of the curves with a rainbow gradient corresponding to the color of the wavelengths. See attached image. How does one fill in a gradient underneath the curve with the corresponding wavelength colors.

YimingChen

1609 Posts

Posted - 08/24/2021 :  11:10:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
1. Double click on the curve. Under Line tab of the dialog, check Fill Area Under Curve box. The dropdown should default to Normal.
2. Select Pattern tab. In Fill Color drop down, select By Points->Map->Col(A).
3. Then you can select Colormap tab. Click Column header Level to align From/To value to the color map. Click Fill where you can load color palette of Spectrum for example.

James
Go to Top of Page

dwolfe

USA
2 Posts

Posted - 08/24/2021 :  1:06:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Do you know how to have the gradient composed of more colors? Its very discrete at the moment and would like it to look like the example image I posted previously.


https://my.originlab.com/ftp/forum_and_kbase/Images/irradiance%20plot.opju


Go to Top of Page

YimingChen

1609 Posts

Posted - 08/24/2021 :  1:29:44 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In Set Levels dialog, increase the # Major Levels or # Minor Levels.

James
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