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
 Origin Forum
 Plotstack, embed and script

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
RockerSWE Posted - 04/04/2010 : 08:58:29 AM
Hello,

I would like to plot a graph (stacked) and then embed it either in the same worksheet, or a new one. This should be done in a script which is run when importing a data file. I.e.
1) plotstack iy:=((1,2), (1,3)) plottype:=line;
(This creates a plot, and puts it activated)
2) Embed the new graph in the worksheet Book1 at row/column 5,10

Any help with this would be much appreciated. Thanks.

Origin Ver. and Service Release (Select Help-->About Origin): 8.0
Operating System: Win vista
1   L A T E S T    R E P L I E S    (Newest First)
larry_lan Posted - 04/05/2010 : 10:30:24 PM
Try insertgraph. For example:

// Insert Graph1 into Book2, Sheet1, Column 2, Row 5:
insertgraph gname:=graph1 embed:=1 resizecell:=1 cell:=[Book2]Sheet1!2[5]


Thanks
Larry

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