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