Created
October 17, 2022 13:48
-
-
Save crhea93/a08b1a2b1fb6267df25977438ee530bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fig = plt.figure(figsize=(16,8)) | |
plt.plot(np.linspace(-1,1,n), Y_test[-1], label='Noisy', color='C1') | |
plt.plot(np.linspace(-1,1,n), X_test[-1], label='True', color='C2', linewidth=4) | |
plt.plot(np.linspace(-1,1,n), ysol_list[-1][-1][-1].reshape(n), label='Predicted', linestyle='dashed', color='C3', linewidth=3) | |
plt.legend(prop={'size': 20}) | |
plt.ylabel('Normalized y-axis', fontsize=20) | |
plt.xlabel('X-axis', fontsize=20) | |
plt.xticks(fontsize = 15) | |
plt.yticks(fontsize = 15) | |
plt.title('RIM Example using a Noisy Gaussian') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment