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
 Color-Filled Interval Plot
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 07/22/2020 :  3:18:12 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2020b (64-bit) 9.7.5.184
Windows 7 Pro x64 SP1

Greetings!

I have a flag column with discrete natural values of 0, 1, 2, ... n versus x.
How do I plot the following color-filled interval plot?

Thank you.




---
AK

AKazak

Russia
1205 Posts

Posted - 07/22/2020 :  6:11:57 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
A workaround idea to achieve the same result for binary flag (for example 0 and 1).
How do I fill with one color above the line plot and with another below the line plot?


---
AK
Go to Top of Page

Shirley_GZ

China
Posts

Posted - 07/23/2020 :  03:39:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi AK,

I suppose adding reference lines and alternately filling the area between the reference lines can help you create such a graph, see the Reference Lines tab in Axis dialog:
https://www.originlab.com/doc/Origin-Help/AxesRef-RefLines

About the details of adding and filling the reference lines, please read these tutorials:
https://www.originlab.com/doc/Tutorials/LineGraph-RecessionBars
https://www.originlab.com/doc/Tutorials/Multiple-Axis-Breaks#Steps_to_Add_Recession_Bars

https://www.originlab.com/videos/details.aspx?pid=3259

If any problem, please feel free to let us know.

Thanks,
Shirley
OriginLab

Originlab Technical Service Team
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 07/23/2020 :  07:52:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Shirley_GZ

Hi AK,

I suppose adding reference lines and alternately filling the area between the reference lines can help you create such a graph, see the Reference Lines tab in Axis dialog:
https://www.originlab.com/doc/Origin-Help/AxesRef-RefLines

About the details of adding and filling the reference lines, please read these tutorials:
https://www.originlab.com/doc/Tutorials/LineGraph-RecessionBars
https://www.originlab.com/doc/Tutorials/Multiple-Axis-Breaks#Steps_to_Add_Recession_Bars

https://www.originlab.com/videos/details.aspx?pid=3259

If any problem, please feel free to let us know.

Thanks,
Shirley
OriginLab

Originlab Technical Service Team



It works fine in case if I have a separate table of reference lines.
To make that table I need to remove duplicates, etc.
Moreover, different fill patterns for different codes are to be set manually, which is laborious.

Currently, I experiment with Fill Area Under Curve.

However, it would be great to have a separate color-filled internal plot for the cases where one wants to mark up a set of X- or Y- intervals.

Does this make sense?


---
AK
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