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
 Selecting Certain X Columns
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rjmagyar

USA
Posts

Posted - 08/07/2006 :  2:18:35 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin):
Operating System: XP

Hi, I'd like to plot a set of y-dots for 3 x values but not points in between. My plot will look like an origin version of

9
8 x
7 x
6 x
5
4 x x
3 x x
2 x x
1 x
1 3 7


Any suggestions on how to do this? Thanks, Rudy

zachary_origin

China
Posts

Posted - 08/08/2006 :  12:38:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I am not sure I got your meaning. Do you want to plot a set of data that for each x value there are three y values? If it is, you can input the data in the worksheet as the following picture, then plot it out.


Zachary
OriginLab GZ Office
Go to Top of Page

rjmagyar

USA
Posts

Posted - 08/08/2006 :  2:48:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I'd like to do sort of what you did but to only show the x points that are plotted and not to rescale the axis. In your case, I'd show x=2,4,5.5 only.
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 08/08/2006 :  6:46:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Rudy,

I think you can set the X column as "categorical" (highlight the
X column by selecting Column:Set as Categorical menu), then
make a scatter plot from the Y column on the Zachary's data.

Hope this solves your problem.

--Hideo Fujii
OriginLab

Go to Top of Page

rjmagyar

USA
Posts

Posted - 08/10/2006 :  7:27:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, the trouble is that the data is coming from several work sheets. With columns like:
10 3
10 4
10 5

and the another worksheet with

5 2
5 9
5 4

etc.

Go to Top of Page

erica-cn

China
Posts

Posted - 08/10/2006 :  10:51:12 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

hi rjmagyar
The first method is to copy all the data in one worksheet.
There is another method as follows:
1.plot the first worksheet
2.Adding Data in the second worksheet Using the Plot Setup Dialog Box
3.open a new worksheet,suppose its name is Data3,fill colomn B with the X value.
4.in the script window type:layer.x.ticksbydata$=data3_b;after this command executed,the data in data3-colomnB is made as the ticks of X layer.
5.rescale the layer value.
more information:
http://www.originlab.com/www/support/resultstech.aspx?language=English&ID=1116
Anymore problems, please feel free to contact me.



Erica Shang
OriginLab GZ Office





Edited by - erica-cn on 08/10/2006 11:28:24 PM

Edited by - erica-cn on 08/10/2006 11:39:29 PM
Go to Top of Page

rjmagyar

USA
Posts

Posted - 08/14/2006 :  3:14:25 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, I am not sure I have expressed the problem correctly. I am going to post the actual worksheet I am talking about at:
http://www.physics.rutgers.edu/~rmagyar/origin/trouble.OPJ

I want to plot a set of bars at arious y values at three x points, one set with the x value 2, one with the x value 14, and one with x value 38. This is a crude attempt at an atomic oribtal energy level diagram. I do not want any other x values to appear. Is this possible? Thanks, Rudy Magyar
Go to Top of Page

fzimnoch

USA
28 Posts

Posted - 08/14/2006 :  4:40:14 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello:

I think if you change column A(X) to categorical and change the 2s to 02, plot as Scatter and change symbol to horizontal bar you should get what you want.

To set as categorical select column A(X), right click and select Categorical. Then simply edit the twos in column A(X) to be 02. Select B(Y) column and then Plot>Scatter.

Then with Plot Windows active select Format>Plot and on the symbol tab change the symbol to horizontal bar. Then it looks like energy levels to me.

Hope that helps. FRED
Go to Top of Page

rjmagyar

USA
Posts

Posted - 08/15/2006 :  08:34:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks!
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