param['mcor_gal'] = 'Logaritmo da massa estelar [$M_{\odot}$]'

vmin['AV'] = -0.25
vmax['AV'] = 1.0
vmin_h['AV'] = -0.4
vmax_h['AV'] = 1.2
param['AV'] = 'Extin\\c{c}\\~ao por poeira [magnitude]'

vmin['halpha_ew'] = -1.0
vmax['halpha_ew'] = 2.0
vmin_h['halpha_ew'] = -1.5
vmax_h['halpha_ew'] = 2.5
param['halpha_ew'] = 'Logaritmo da largura equivalente de $\\mathrm{H}_{\\alpha}$ [\AA]'

# Hack: plot log(EWHa)
t.halpha_ew = np.log10(t.halpha_ew)

#if debug:
#    for col in label.keys():
#        pylab.figure()
#        #pylab.hist(t.data[col][sample], range=(vmin[col], vmax[col]))
#        pylab.hist(t.data[col][sample])
#        pylab.title(col)
#        pylab.show()
#    #exit()

set_eps_output_3x2()

for p in param.keys():
    pylab.figure()
    pylab.suptitle(param[p])