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
 Add Graph to Sheet

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
AKazak Posted - 09/21/2020 : 03:55:22 AM
OriginPro 2021 (64-bit) Beta 5 9.8.0.166
Windows 7 Pro x64 SP1

Greetings!

How do we run this command via LT?


---
Andrey
6   L A T E S T    R E P L I E S    (Newest First)
minimax Posted - 09/22/2020 : 05:25:32 AM
This example may help:
https://www.originlab.com/doc/User-Guide/Handling-Repetitive-Tasks#The_Workbook_as_a_Template_for_Processing_Multiple_Files
AKazak Posted - 09/22/2020 : 04:35:33 AM
quote:
Originally posted by 一击爆裂陈子豪

Yes, you can create your OriginC function and call it from LabTalk.
https://www.originlab.com/doc/OriginC/guide/Using-Compiled-Functions


Thank you for the suggestion.

quote:
Originally posted by cpyang

We usually make a book with the graph sheet all setup and customized and then drag and drop new data files to the book. This will involve much less coding and allow later to make changes to the graph without knowing the code.
CP


OK. Can you share an example of such a book, please?

I design my workbook in such a way that each sheet contains data and an embedded plot illustrating the data on the sheet.
Therefore I make the import filter to import data on a separate sheet and create the graph as per specified template.

---
Andrey
cpyang Posted - 09/21/2020 : 4:42:44 PM
We usually make a book with the graph sheet all setup and customized and then drag and drop new data files to the book. This will involve much less coding and allow later to make changes to the graph without knowing the code.

CP
一击爆裂陈子豪 Posted - 09/21/2020 : 3:52:04 PM
Yes, you can create your OriginC function and call it from LabTalk.
https://www.originlab.com/doc/OriginC/guide/Using-Compiled-Functions
AKazak Posted - 09/21/2020 : 3:36:13 PM
quote:
Originally posted by 一击爆裂陈子豪

I don't think there be such cmd...
Btw for OriginC you can use: https://www.originlab.com/doc/OriginC/ref/Layer-InsertGraph



Hm...
I want to do this in an after-import script.
Can I use OC there?

---
Andrey
一击爆裂陈子豪 Posted - 09/21/2020 : 10:36:02 AM
I don't think there be such cmd...
Btw for OriginC you can use: https://www.originlab.com/doc/OriginC/ref/Layer-InsertGraph

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