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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Plotstack, embed and script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

RockerSWE

Sweden
6 Posts

Posted - 04/04/2010 :  08:58:29 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

larry_lan

China
Posts

Posted - 04/05/2010 :  10:30:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Edited by - larry_lan on 04/05/2010 10:31:07 PM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000