figure size and legends and tidyr gather and spread