Page 1 of 1

Putting together graphs generated by different programs

Posted: Thu Jan 15, 2015 11:17 am
by PTillmann-436
Dear All,

I want to put together graphs generated by different RATS programs into one single graph. One way is to put them together in Latex. Can this also be done in RATS directly?

Thanks

Peter

Re: Putting together graphs generated by different programs

Posted: Thu Jan 15, 2015 1:02 pm
by TomDoan
If you save them in RGF format, you can insert them into a later SPGRAPH using the RGF option. Something like (in the second program)

Code: Select all

spgraph(hfields=2,vfields=1,header="This has two graphs created by another program")
 spgraph(rgf="c:\users\me\desktop\graph1.rgf")
 spgraph(rgf="c:\users\me\desktop\graph2.rgf")
spgraph(done0