How would I combine these two legends into one? Also, how would I modify the resolution of the x and y axis tick labels to display more significant digits?
fig =