<jupyter_start><jupyter_text>Alright, let's keep the square figure, merge them, remove the titles and add legends<jupyter_code>#adjust the size of the figure
fig=plt.figure(figsize=(6,6))
#Add labels to lines
plt.plot(x, y, label=r'$y = \sin(x)$')
plt.plot(x, z, label=r'$y= \cos(x)$')
plt.plot(x, w, label=r'$sin(4x)$')
plt.plot(x,v,label=r'$y=\cos(4x)$')

plt.xlabel(r'$x$')     #note set_xlabel vs. xlabel
plt.ylabel(r'$y(x)$')   #""
plt.xlim([0,2*np.pi])   #note set_xlim vs xlim
plt.ylim([-1.2,1.2])
plt.legend(loc=1,framealpha=.95)

#fix the axis ration
plt.gca().set_aspect(np.pi/1.2)   #use "gca" to get current axis()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.21189024390243902, 'fraction_numerical': 0.022865853658536585, 'mean_word_length': 5.704081632653061, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '459518', 'license': 'MIT', 'n_tokens_mistral': 311, 'n_tokens_neox': 292, 'n_words': 60, 'path': 'multipanel_plot.ipynb', 'repo_name': 'oross314/astr-119-session-6', 'size': '656'}