BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar

Can I put two graphs from two data tables into one page

The jsl below doesn't work. Any suggestions?

V List Box(
tbl1 = ("C:\table1.jmp")
tbl1 << Scatterplot Matrix(
Y( :age ),
X( :height ),
),

tbl2 = ("C:\table2.jmp")
tbl2 << Scatterplot Matrix(
Y( :age ),
X( :height ),
)
)
0 Kudos
5 REPLIES 5
ms
Super User ms
Super User

Re: Can I put two graphs from two data tables into one page

Your script does not make much sense to me but it is possible to put two graphs into one page using << journal.


plot1=tbl1< Y( :age ),
X( :height )
);
plot2=tbl2< Y( :age ),
X( :height )
);
plot1<plot2<
If you don't mean "page" as in page, but rather a custom report, then I think you must define the variables for the tables and individual reports outside the VListBox-object. Thereafter you can use your reports or elements within them to make a custom report.
0 Kudos

Re: Can I put two graphs from two data tables into one page

Thanks a lot!

The following is the jsl I'm using and it doesn't work. Why?

wind = New Window( "Agency Analysis Window",

V List Box(

plot1 = Agency_submission << Scatterplot Matrix(
Y( :Success ),
X( :Submission )
),
plot2 = Agency_subm&Rev << Scatterplot Matrix(
Y( :Success ),
X( :Submission )
);
plot1 << journal;
plot2 << journal;
);
);
0 Kudos
mpb
Super User mpb
Super User

Re: Can I put two graphs from two data tables into one page

What do you mean by "it doesn't work"?
0 Kudos
ms
Super User ms
Super User

Re: Can I put two graphs from two data tables into one page

You do not need the << journal commands if you indend to use the NewWindow-command (the << journal creates a new window automatically, unless you already have a journal open), and in anyway I don't think you can use <

Try this (the <
dt=datatable("name of your data table");
wind = New Window( "Agency Analysis Window",

V List Box(
plot1 = dt << Scatterplot Matrix(
Y( :Success ),
X( :Submission )),
plot2 = dt << Scatterplot Matrix(
Y( :Success ),
X( :Submission ))
));
Wind<
0 Kudos

Re: Can I put two graphs from two data tables into one page

This works perfectly! Thanks a lot MS!
0 Kudos