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
 All Forums
 Origin Forum
 Origin Forum
 Plot a graph with 2-state on x-axis (not a range)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
panupon 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
4   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii 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
snowli 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.
panupon Posted - 04/03/2014 : 10:54:36 AM
Thank you very much. I appreciate your help.
snowli 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.

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000