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
 plotstack

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
elendar Posted - 02/16/2017 : 6:14:19 PM
Hi there,
I am writing a script which evaluate my data. There is a book which has lots of sheets. The script decide which kind of data exist and plot different amount of graphs depending on data entry, name them and continue to next sheet.


I use plotstack to draw 3 graphs together. I have to add another plot on one of them.

I have few questions:
1. Is there any possibility to use plotstack to create: 3 different graphs and one of them "XYY". (The script can also plot to existing stack-graph as a layer, but the name of plotstack is random. So the script can not realize the name)

2. Is there any way to give a name to graph (which created by plotstack) while use? (I also simply rename the graph afterwards,but...)

3. After plot a graph, graph is active. I can't find anyway to re-active the workbook to continue script? Even somehow i reach the book, the graph is still open and i can not plot more graphs.

Regards.
3   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 02/20/2017 : 02:21:53 AM
Hi,

You can specify the number of layers and the number of plots in each layer, for example:
plotstack layer:=3 number:="1 1 2";

You can find more examples here:
http://www.originlab.com/doc/X-Function/ref/plotstack

Hope it helps.

Regards,
Yuki
elendar Posted - 02/19/2017 : 3:10:06 PM
Thank you for your fast answer. I solved my problem with "win -a" function. After you have said, I realized that i use longname with it.

An example for my first question:
http://imgur.com/a/5RS3v

Topest graph is XYY. Thank you again!
yuki_wu Posted - 02/17/2017 : 12:59:06 AM
Hi,

1.I am sorry that I cannot understand your question fully. Do you want to plot your datasets as three different plot type or in three different graph windows? Would you mind writing more info here? You can post your script or show your datasets and the graph you desired by screen shot.

2.We cannot name the graph directly by plotstack function at present, but just as what you mentioned, we can rename it after execute this command

3.If you want to activate a workbook, you can use “ win -a”, for example:
win –a Book1;

Regards,
Yuki
OriginLab

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