Author |
Topic  |
|
kemeyer
39 Posts |
Posted - 07/30/2009 : 09:16:30 AM
|
Origin Ver.7 and Service Release (Select Help-->About Origin): Operating System: xp
Hi,
In my program, I am trying to plot a selection into a template. My code looks like this:
wks.colSel($(colNum(Column1)),1); wks.colSel($(colNum(Column2)),1); worksheet -p 200 myTemplate;
After that code is called, I activate the worksheet again and deselect those columns. After running this code, I found it works with my some columns, and not others. The ones I have pick from are:
A(x1) B(y1) C(y1) D(x2) The last two are added in the program , and they come up as y1 and x2. I don't know if that has anything to do with my error, but I figured I would include it.
When I try to graph the combo of CD, DB, or AC, I get this error: "Your selection must include those with plot designations" When I looked at the column properties, they were designated at x and y, so I don't know what is going on.
However, when I plot those same combos by going to the menu and plotting, I am able to without trouble or error. Why is this happening and how do I fix it?
Thanks, Katie |
|
kemeyer
39 Posts |
Posted - 08/03/2009 : 2:00:08 PM
|
Nevermind, I figured it out. It was automatically designating the first column of the selection as X even if its plot designation was Y. I just had to insert the desired x columns before the y column that had been generated. |
 |
|
|
Topic  |
|
|
|