T O P I C R E V I E W |
RichFung |
Posted - 05/13/2013 : 8:20:07 PM Origin Ver.8.6.0 and Service Release (Select Help-->About Origin): B70 Operating System: Win7
Hi, Hope someone can help me on this question: I need to repeatly plotting similiar graphs from worksheets. Imagine in each worksheet, there are 100 columns and I need to plot the first column as X and column 10, 15, 20, 25, 30....100 as Y. How can I setup a theme or template for repeating task like this? Each of my worksheet has exactly the same format.
Thank you, Rich |
3 L A T E S T R E P L I E S (Newest First) |
Laurie |
Posted - 05/15/2013 : 3:54:14 PM Hi Rich,
If you wish to plot column 10 from every worksheet in Book3 in a new graph, and then column 15 from every worksheet in another graph, etc.
Use the following script:
for(int i=10;i<=100;i+=5) { plotxy iy:=[Book3](1:end)!(1,$(i)) ogl:=[<new>]; }
Let me know if this works for you.
Thank you, Laurie
OriginLab Technical Support |
Laurie |
Posted - 05/14/2013 : 6:02:45 PM Hi Rich,
Please email me at tech@originlab.com with a sample OPJ file which has one graph created. I will then try and help you further.
Thank you, Laurie
OriginLab Technical Support |
meili_yang |
Posted - 05/14/2013 : 12:12:43 PM Hi Rich,
One way is to use LabTalk programming. You can find the instruction to plot xy from here: http://wiki.originlab.com/~originla/ltwiki/index.php?title=LabTalk:Plotting&rdfrom=http%3A%2F%2Fwiki.originlab.com%2F~originla%2Fwiki%2Findex.php%3Ftitle%3DLabTalk%3APlotting%26redirect%3Dno#plotxy
We will improve this function of repeatly plotting similar graph in Origin 9.1, so that you can simply copy the plotting action to all the similar data.
Regards,
Meili OriginLab |
|
|