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
 Creating combined chart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Jcbe

3 Posts

Posted - 04/18/2016 :  11:43:07 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
How to plot a combined chart? I would like to plot two variables on y axes (left and right) with a common x axis. However, I want the y axis corresponding the left axis as a line and y axis on the right as column. Is there a method to do this in origin?

Hideo Fujii

USA
1582 Posts

Posted - 04/18/2016 :  12:06:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Jcbe,

Origin has a built-in graph type, called "double-Y" plot:
http://www.originlab.com/doc/Origin-Help/Double-Y-Graph
http://www.originlab.com/doc/Quick-Help/create-double-y

You can try this.

--Hideo Fujii
OriginLab
Go to Top of Page

Jcbe

3 Posts

Posted - 04/18/2016 :  12:23:16 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for your reply. The problem here is not creating double Y plots. Origin has a well advanced default set-up to do this. However, the plots on one axis cannot be changed. In other words, it only allows both the axis to be in line or bar. This makes plotting two axis with different pattern complicated.
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 04/18/2016 :  2:47:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Jcbe,
Double-Y plot is a specific case of 2-layer graphs. If you want to combine any types of plots, maybe you can first create any individual graphs separately, then use the "Merge Graph Windows" tool to put them into 1x1 arrangement.
http://www.originlab.com/doc/Origin-Help/GraphRef-MergeGraph

Then, you can link X axes in the layers by Layer Management tool:
http://www.originlab.com/doc/Origin-Help/LayManage-LinkTab

Hope this helps.

--Hideo Fujii
OriginLab

Go to Top of Page

Jcbe

3 Posts

Posted - 04/18/2016 :  10:39:54 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks once again for your reply. I'm aware of merge graph option. But this would only allow us to plot two graphs, meaning one on top and one on bottom having same X axis. I tried to use this option, however, this does not have option to plot two axes having different plot styles, i.e. bar and line.
Go to Top of Page

Liamn

19 Posts

Posted - 04/19/2016 :  05:54:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can first plot a double Y (both line) graph,
and then right-click on the 2nd plot, select Change Plot to -> Column/Bar.

Then you can save this as a "graph template" and plot new graphs with this template:
1. Right-click on title bar of the graph window to select Save Template as..., give a name to the template.
2. Select your new data.
2. Select from main menu Plot: User Templates: <your template>
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