T O P I C R E V I E W |
Mats77sv |
Posted - 11/18/2014 : 07:32:50 AM Origin Ver. and Service Release (Select Help-->About Origin): 9.1pro Operating System:win7
Hi, I would like to make a bubble plot, but so far I have failed to do so.
Exampel: I have 3 columns. X: col(1) Y1:col(2) Y2:col(3)-number of points which should be used as 'symbol size'.
How do I define the input parameters including symbol size and scaling factor in a script? Can you just use a simple plotxy-command?
/Mats
|
3 L A T E S T R E P L I E S (Newest First) |
lkb0221 |
Posted - 11/19/2014 : 11:00:28 AM Hi,
Then use the following cmd to select a specific column: wks.colSel(1,1); // Select the 1st column wks.colSel(2,0); // Dis-select the 2nd column worksheet -s; // Dis-select all
Zheng OriginLab |
Mats77sv |
Posted - 11/19/2014 : 04:42:18 AM Hi Zheng,
Thanks for your help. It works perfect, however I also need to be able to select 3 different columns that are not arranged as col1, col2 and col3. I looked in the labTalk Scripting Guide but I was not able to "decode" the precise meaning of "worksheet -s 1 0 3 0". How do I define the 3 columns I want to use for my bubble plot?
Regards, Mats |
lkb0221 |
Posted - 11/18/2014 : 10:34:15 AM Hi, Mat
Plotxy only supports creating graph types with XY range. So to make XYY plot like bubble, you may use worksheet -p cmd. For example: worksheet -s; // Dis-select all worksheet -s 1 0 3 0; // Select first 3 columns worksheet -p 193 Scatter; // Indexed size scatter set %c -k 2; // Circle shape symbol set %c -kf 1; // Symbol interior open
Zheng OriginLab |