<jupyter_start><jupyter_text>Preamble<jupyter_code>import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline<jupyter_output><empty_output><jupyter_text>Starting SimpleFor the first exercise we will simply plot 3D data using `plt.imshow`. Let's use what we just learned on the homework, a checkerboard!<jupyter_code>#create a 2D checkerboard array using the code we wrote in HW3
#checkerboard = ...
#plot checkerboard<jupyter_output><empty_output><jupyter_text>Plotting Continuous 3D Functionslet's plot a function $f(x,y)$ that we may come across in multivariable calculus for example<jupyter_code># create x and y grid for our function

# write multivariable function

# plot using imshow()<jupyter_output><empty_output><jupyter_text>Plotting Datawe can also plot data from data files like we saw in previous lectures/hw<jupyter_code>#load in data

#plot data<jupyter_output><empty_output><jupyter_text>Making Subplots<jupyter_code># make x, y1, y2

# initialize figure

# fill figure with subplots<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07396733909702209, 'fraction_numerical': 0.005763688760806916, 'mean_word_length': 7.336, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '115095', 'license': 'MIT', 'n_tokens_mistral': 360, 'n_tokens_neox': 339, 'n_words': 107, 'path': 'Demos/.ipynb_checkpoints/Fall_2021_Advanced_plotting_demo-checkpoint.ipynb', 'repo_name': 'James11222/Python_DeCal_2020', 'size': '1041'}