import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 10, 100)
y = np.sin(x)
plt.figure(figsize=(10, 4))
plt.plot(x, y)
plt.title('기본 플롯')
plt.xlabel('X축')
plt.ylabel('Y축')
plt.grid(True)
plt.show()/Users/itaeyeon/Library/Python/3.9/lib/python/site-packages/IPython/core/pylabtools.py:152: UserWarning:
Glyph 52629 (\N{HANGUL SYLLABLE CUG}) missing from font(s) DejaVu Sans.
/Users/itaeyeon/Library/Python/3.9/lib/python/site-packages/IPython/core/pylabtools.py:152: UserWarning:
Glyph 44592 (\N{HANGUL SYLLABLE GI}) missing from font(s) DejaVu Sans.
/Users/itaeyeon/Library/Python/3.9/lib/python/site-packages/IPython/core/pylabtools.py:152: UserWarning:
Glyph 48376 (\N{HANGUL SYLLABLE BON}) missing from font(s) DejaVu Sans.
/Users/itaeyeon/Library/Python/3.9/lib/python/site-packages/IPython/core/pylabtools.py:152: UserWarning:
Glyph 54540 (\N{HANGUL SYLLABLE PEUL}) missing from font(s) DejaVu Sans.
/Users/itaeyeon/Library/Python/3.9/lib/python/site-packages/IPython/core/pylabtools.py:152: UserWarning:
Glyph 47215 (\N{HANGUL SYLLABLE ROS}) missing from font(s) DejaVu Sans.















