/* graphfaq_98s.dlg
*! VERSION 1.0.0 30Apr2003 Jean Marie Linhart
This sample dialog is an example of how to use various small
graphics .idlg files in your own dialog. This dialog runs a scatter plot,
with options from the various included tabs.
*/
VERSION 8.0
INCLUDE graph_header /* this includes std_graph.idlg, which includes
_graph.idlg, which defines _dlgwd = 760 and
_dlght = 350 */
INCLUDE header /* CANCEL, SUBMIT, OK buttons */
HELP hlp1, view("help scatter") /* A HELP button */
RESET res1 /* a RESET button */
DIALOG main, label("graphfaq_98s -- Example dialog for graphics small idlg files") ///
tabtitle("Main")
BEGIN
INCLUDE _glist_def /* a must include for graphics tabs, this goes here */
TEXT tx_faq 10 10 740 20, label("Scatter plot variables:")
VARLIST vl_faq @ +20 @ @ , label("Variables")
END
INCLUDE _glist_sc /* a must include for graphics tabs */
INCLUDE gby_98s /* use as many or as few of these as you want */
INCLUDE gyaxis_98s
INCLUDE gxaxis_98s
INCLUDE gtitle_98s
INCLUDE glegend_98s
INCLUDE gregion_98s
PROGRAM command
BEGIN
put "scatter "
varlist main.vl_faq
beginoptions
put /program gby_output /* this is how you generate
put /program gyaxis_output the command output for the
put /program gxaxis_output various tabs */
put /program gtitle_output
put /program glegend_output
put /program gregion_output
endoptions
END