$ecm = `echo "select bp.Focus,bp.LowValue,bp.HighValue from YAxes ya,AxisProperties ap,BaseProperties bp where bp.Name like 'sqrts' and bp.PROPERTY_ID=ap.PROPERTY_ID and ap._yAxis_AXIS_ID=ya.AXIS_ID and ya._dataset_DATASET_ID=$dsid" | mysql hepdata5test`;
@ecm = split /\n/,$ecm;
@ecms = split /\s+/,$ecm[1];
# print "select bp.Focus,bp.LowValue,bp.HighValue from YAxes ya,AxisProperties ap,BaseProperties bp where bp.Name like 'sqrts' and bp.PROPERTY_ID=ap.PROPERTY_ID and ap._yAxis_AXIS_ID=ya.AXIS_ID and ya._dataset_DATASET_ID=$dsid\n";
# $bins = `echo "select Max(LocalId) from Bins where _xAxis_AXIS_ID=$axid" | mysql hepdata5test`;