Author |
Topic |
|
panupon
USA
2 Posts |
Posted - 04/02/2014 : 11:18:02 PM
|
I want to plot a similar graph like a graph I attached in this post.
The x axis (pH cycles) contains only 2 values: pH 2.0 and pH 10.5. How can I plot such graph?
Thank you very much.
Note: The credit picture is from Itano, K., et al., Macromolecules 38(8), 3450-3460 (2005). I want to use this picture for academic purpose in this case and I do not intentionally to use picture in the other ways.
Origin Ver. and Service Release (Select Help-->About Origin): Origin Version 8.5 Operating System: Windows 8.1 |
Edited by - panupon on 04/02/2014 11:20:49 PM |
|
snowli
USA
1385 Posts |
Posted - 04/03/2014 : 10:47:16 AM
|
Support you have XYY columns in a workbook. 2 400 1.4 10.5 0 1.5 2 500 1.4 10.5 0 1.5 2 500 1.4 10.5 0 1.5 2 500 1.4 10.5 0 1.5 2 500 1.4 10.5 0 1.5 You can choose Plot: Multi-Curve: Double Y to plot such a graph with one Y axis on left and one on the right.
It uses 2 and 10.5 as X so it doesn't look as what you want. Then you can choose Graph: Plot Setup. Choose plot under Layer1 in bottom panel. Change X to be <autoX> and click Replace button so the Y data will be plotted against row number instead of X value. Do the same for plot under layer2 in bottom panel.
Then you can adjust your Y axis range on both sides.
To change the tick labels to show column A's text. Double click X axis to open Axis dialog. On Scale tab, set Increment to be 1. Then go to Tick Labels tab. Set Type to be "Text by dataset". Click the Dataset dropdown list and choose column A of the same workbook&sheet.
Thanks, Snow Li OriginLab Corp. |
|
|
panupon
USA
2 Posts |
Posted - 04/03/2014 : 10:54:36 AM
|
Thank you very much. I appreciate your help. |
|
|
snowli
USA
1385 Posts |
Posted - 04/03/2014 : 11:28:00 AM
|
You are very welcome.
BTW, we have introduced Change X and Change Y context menus in later versions, by which user can easily change X or Y of the plot without the need to open Plot Setup dialog.
Somehow <autoX> not supported there so user can't easily change X to be row indexing. I have jiraed it https://originlab.jira.com/browse/ORG-10932 to improve in the future.
Sincerely, Snow Li OriginLab Corp. |
Edited by - snowli on 04/03/2014 11:28:41 AM |
|
|
Hideo Fujii
USA
1582 Posts |
Posted - 04/04/2014 : 10:50:47 AM
|
Hi panupon,
Snow's method should work. Also as an easier, but a little bit trickier way, you can do as follows:
1) In the worksheet, change the column format of the first X column from "Text&Numeric" to "Text". (Double-click the column header, change the Format under Options node)
2) Highlight two Y columns, and create a Double-Y graph.
That's it. You can change Y scale, etc. to customize as you like.
--Hideo Fujii OriginLab |
|
|
|
Topic |
|
|
|