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
 Dotted graph

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
ampacmopac Posted - 05/18/2007 : 07:58:05 AM
Origin Version (Select Help-->About Origin):6.0
Operating System:winXp
Hi
How can I plot a graph such that the x-axis in it, which cosists of a number of independent groups each group consists of a specific number of members,can be represented by a number of dots equal to the number of the members in that group that they give the specified Y-axis result or measurement.
for example, if 7 members of group A give a y-axis value of Y1 ,and 4 members of the same group give the value of y-axis equal Y2. How can I present the numbers of these two members of the same group by 7dots and 4 dots, which correspond to number of the member, instead of one dot which corresponds to their number on the x-axis.
What I want to plot is a graph from which I can directly know the number of the group members that give the specified y-axis value.
Thank you very much and I am sorry if I failed in explaining the topic very well.
2   L A T E S T    R E P L I E S    (Newest First)
ampacmopac Posted - 05/19/2007 : 04:51:00 AM
Thank you very much.
Mike Buess Posted - 05/18/2007 : 09:28:40 AM
quote:
What I want to plot is a graph from which I can directly know the number of the group members that give the specified y-axis value.

You can label each data point with that number. Select the Y column you want to plot and then run the following script to create the label column. Then select the Y and Label columns and plot like you want.

if(%C=="") {
ty -a "Select a Y column.";
return;
};
get %C -e npt;
wks.addCol();
ii=wks.ncols;
wks.col$(ii).type=5; //label
wks.addCol();
jj=wks.ncols;
loop(i,1,npt) {
nn=%C[i];
wcol(jj) = %C==nn ? 1 : 0;
sum(wcol(jj));
wcol(ii)[i]=sum.total;
};
del wcol(jj);
wks.colSel(ii);


Mike Buess
Origin WebRing Member

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