Displacement analysis in elastic-plastic frames at plastic collapse