window name="window" title="Yield per Recruit"

grid 1 4 sticky=W pady=5
	label text=View: font="bold" sticky=W padx=10
	button text="Docs" func=openFile action=YPRDoc.pdf
	button text="R Code" func=openFile action=ypr.r
	button text=Window func=openFile action=yprWin.txt

grid 5 2 sticky=W
	label text="Controls" font="bold 10" sticky=NW  fg=blue
	grid 1 1 sticky=W
		vector length=6 names="M Winf K t0 b aref" values="0.2 1209 0.2 -1 3 1" width=6 vertical=T sticky=NW fg=blue
#		grid 2 1 sticky=NE
#			button text="R Code" func=openFile action=ypr.r sticky=E pady=5
#			button text=Window func=openFile action=yprWin.txt sticky=E
	label text="Fishing\nmortality" font="bold 10" sticky=W
	vector length=3 names=Flim labels="Fmin Fmax Flen" values="0 3.5 200" width=6 vertical=F sticky=E
	label text="Recruit\nage" font="bold 10" sticky=W
	vector length=3 names=tlim labels="tmin tmax tlen" values="0 12 200" width=6 vertical=F sticky=E
	label text="Contour\nlevels" font="bold 10" sticky=W
	vector length=3 names=clim labels="cmin cmax cinc" values="80 180 20" width=6 vertical=F sticky=E
	label text="Eumetric\npoints" font="bold 10" sticky=W
	grid 1 2 sticky=W
		matrix nrow=2 ncol=1 names="Fin" rowlabels="1 2" collabels="F" values="0.5 3" width=4 sticky=W
		matrix nrow=2 ncol=2 names="Rout" rowlabels="'' ''" collabels="RecA YPR" values="0 0 0 0" width=6 sticky=W entrybg="#FDB3C1"
grid 1 3 sticky=E pady=5
	entry name=nlevel label="# levels" width=3 value=8 mode=numeric
	#button text=" autoContour " func=.win.tget action=autoC
	#button text=" PLOT " func=.win.tget action=RickFig bg=green
	button text=" autoContour " func=autoC
	button text=" PLOT " func=RickFig bg=green

