button={ label=Help action="xtpanel -file help/graph &" }
vbox={ 
message={ value="Click to specify any of the following graph parameters" }
button={ label="number of samples" 
 action="ASSIGN out $(out)\n`xtpanel -name ""graph number of samples"" \
 	 -var varname nsamp -file generator/valstring`"
}
button={ label="action" 
 action="ASSIGN out $(out)\n `xtpanel -name ""graph action"" \
	 -file generator/action`"
}
button={ label="name" 
 action="ASSIGN out $(out)\n`xtpanel -name ""graph name"" \
	 -var varname name -file generator/valstring`"
}
button={ label="value" 
 action="ASSIGN out $(out)\n`xtpanel -name ""graph value"" \
	 -var varname value -file generator/valstring`"
}
button={ label="minimum value" 
 action="ASSIGN out $(out)\n`xtpanel -name ""graph minimum value"" \
	 -var varname min -file generator/valstring`"
}
button={ label="maximum value" 
 action="ASSIGN out $(out)\n`xtpanel -name ""graph maximum value"" \
	 -var varname max -file generator/valstring`"
}
button={ label="format" 
 action="ASSIGN out $(out)\n`xtpanel -name ""graph format"" \
	 -var varname format -file generator/valstring`"
}
button={ label="more parameters" 
 action="ASSIGN out $(out)\n`xtpanel -name ""more graph parameters"" \
	 -file generator/extras`"
}
}
message={ value="Or edit below to add new parameters or make changes" }
text={ name=out value="" editType=edit height=75 width=400 }
button={ label="Click here when done to add graph to script"
         action='echo ''graph={ $(out) \n} '' >> $fileout ' 
	 action=QUIT }
button={ label="Or click here to cancel" action=QUIT }
