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 for Programming
 LabTalk Forum
 bubble plot

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

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