spgraph combining fields

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.

spgraph combining fields

Unread postby ac_1 » Mon May 23, 2022 2:05 pm

Hi Tom,

As in the Sample Graph https://estima.com/ratshelp/index.html?spgraphinstruction.html, can the fields be combined, e.g. is there a way to have 3 graphs differing in size:
1 in first column (all the way down), 2 in the 2nd column, or
1 in the first row (all the way across) and 2 in the 2nd row ?

thanks,
Amarjit
ac_1
 
Posts: 297
Joined: Thu Apr 15, 2010 6:30 am
Location: London, UK

Re: spgraph combining fields

Unread postby TomDoan » Mon May 23, 2022 7:16 pm

You can nest SPGRAPH instructions to do that. (The right field in the outer SPGRAPH is a 2 vertical pane SPGRAPH):

Code: Select all
set x1 1 100 = %ran(1.0)
set x2 1 100 = %ran(1.0)
set x3 1 100 = %ran(1.0)
spgraph(hfields=2,vfields=1)
 graph
 # x1
 spgraph(hfields=1,vfields=2)
  graph
  # x2
  graph
  # x3
 spgraph(done)
spgraph(done)
TomDoan
 
Posts: 7388
Joined: Wed Nov 01, 2006 5:36 pm

Re: spgraph combining fields

Unread postby ac_1 » Tue May 24, 2022 12:57 am

Great - thanks!
ac_1
 
Posts: 297
Joined: Thu Apr 15, 2010 6:30 am
Location: London, UK


Return to Graphics, Reports, and Other Output

Who is online

Users browsing this forum: No registered users and 5 guests