The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 xyy plots from multiple sheets.

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
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
jorisdee Posted - 06/14/2012 : 05:14:20 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.5.1
Operating System: windows 7

dear people from the labtalk forum.
I am fairly new to programming in general and in labtalk and therefore experiencing some trouble.

for my work i am automating a integration procedure.

this procedure is suposed to do the folowing:

-trim the edges of the datasets
-plot columns 3 and 4 against column 2 from sheets 3 and 5 of every workbook, in a single plot.
-then integrate the data
-and finaly bundle the aquired integration data in a summary report sheet.

so this is what i came up with so far:

doc -e L {set %C -b 200; set %C -e 6100};}; //trim the edges, this seems to work fine

doc -e W {plotxy iy:=(3,5)!(2,4) plot:=200;}; // this makes the plot of only column 4 against column 2 of every workbook. so i tried the folowing

doc -e W {plotxy iy:=(3,5)!((2,4),(2,3)) plot:=200;}; // but this does not seem to work. however it does work if you do not use it on multiple sheets in your workbook.

doc -e W {plotxy iy:=5!((2,4),(2,3)) plot:=200;}; // why does this work and not the above?

doc -e LP {pa smode:=1 theme:="dsc integration";}; // as for the integration i use this template however i do not get it to integrate all the plots in a graph.

and finaly for the result sheet i have not found any solutions yet becouse i am trying to solve above problems first.

please excuse me for any grammar isues becouse i am not a native speaker
and thanks in advance,

3   L A T E S T    R E P L I E S    (Newest First)
jorisdee Posted - 06/15/2012 : 05:25:23 AM
I think i have solved the integration problem partially

doc -e P {paMultiY 1!(1,2,3,4) theme:="dsc integration"}; //seems to integrate all the plots in all graph windows, however it only displays the data of the last graph in the summary results window.

does anybody of you guys know how to fix this problem and how to customize the summary results window to my liking?

once again thanks in advance!
jorisdee Posted - 06/14/2012 : 09:50:49 AM
Thanks Greg!

that is a great help!
does this -d trick work for all commands?
greg Posted - 06/14/2012 : 09:12:34 AM
"Ask" Origin!
If you execute
plotxy -d
you get the plotxy dialog.
Add three more Ranges then fill in each X and Y using the hunt buttons.
When you are done, the Input string will be exactly what you want.

Here, I have replaced names (which the dialog uses) with indexes:

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