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
 plotxy

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
shyamigcar2 Posted - 07/04/2017 : 09:46:26 AM
How to plot with the labels on the points using labtalk scripts?
for example
Cruc. No. nCd/nZr temp.
No. °C
1 3.92911 505
2 4.51606 515
3 4.59111 525
4 4.86532 535
5 4.73083 545
6 4.89554 555
7 4.84366 567
8 4.76426 578
9 4.7412 588
10 4.76452 599
11 4.741 609
12 4.74485 620
13 4.71048 631
14 3.88914 642
15 3.95764 652


I wanted to plot using col(2) as X axis and col(3) as y axis and col(1) as labels for the points.

Is there any labtalk scripts that will do this for me?
5   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 07/06/2017 : 7:08:41 PM
quote:
Originally posted by shyamigcar2

It does not give information about the command.

set %c -q 1;

Thank you for the reply.




For that, you google with

quote:
Originlab labtalk set command


and the look for the 10 Data Plot Label Options section for the various data label controls.


CP
shyamigcar2 Posted - 07/06/2017 : 09:43:44 AM
It does not give information about the command.

set %c -q 1;

Thank you for the reply.


quote:
Originally posted by cpyang

Here is how to find info about Origin, in your case, search, google the following
quote:

originlab labtalk plotxy



CP


cpyang Posted - 07/05/2017 : 12:22:27 PM
Here is how to find info about Origin, in your case, search, google the following
quote:

originlab labtalk plotxy



CP
shyamigcar2 Posted - 07/05/2017 : 09:12:21 AM
quote:
Originally posted by yuki_wu

Hi,

worksheet -t 2 4; //Set col(2) as X
plotxy iy:=(2,3); 
set %c -q 1; // Turn the data label on
set %c -qm 524391; //  Set label form as col(A);


Note that to map the label to a dataset, set value = 101 + number-of-columns-to-the-right for color index dataset located on the right side of data or value = 524389 + number-of-columns-to-the-left for color index dataset located on the left side of data.

Hope it helps.

Regards,
Yuki
OriginLab




Thanks for the reply.

I would like to know more about the command lines, where it is located.

Thanking you
yuki_wu Posted - 07/05/2017 : 01:19:52 AM
Hi,

worksheet -t 2 4; //Set col(2) as X
plotxy iy:=(2,3); 
set %c -q 1; // Turn the data label on
set %c -qm 524391; //  Set label form as col(A);


Note that to map the label to a dataset, set value = 101 + number-of-columns-to-the-right for color index dataset located on the right side of data or value = 524389 + number-of-columns-to-the-left for color index dataset located on the left side of data.

Hope it helps.

Regards,
Yuki
OriginLab

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