add figure legend and axis. Print as png