
멀티라인 그래프 plt.plot을 연속적으로 실행하면, 하나의 axes 에 여러 개의 그래프가 그려짐 x = np.linspace(-np.pi, np.pi, 200) y1, y2 = np.cos(x), np.sin(x) plt.plot(x, y1, label='코사인 그래프') plt.plot(x, y2, label='사인 그래프') plt.legend(loc='upper left') plt.show() 다중 그래프 하나의 figure 안에 여러 개의 그래프를 나열하여 그릴 수 있음 아래 함수를 사용해서 그리고 싶은 그래프를 axes에 그려줌 plot.subplot(행 개수, 열 개수, 순서) plt.figure(figsize=(10, 10)) # figure 생성 ax1 = plt.subplot(2, ..

figure figure: 그래프가 그려지는 가장 큰 액자의 개념 axes : 하나의 그래프. 하나의 figure에 여러 개의 axes를 가질 수 있음 axis: 축. 하나의 axes는 x축, y축(2개의 axis)를 갖는다. figure 함수 크기 지정 - figure의 크기를 지정함 - plt.figure(figsize=(가로, 세로)) import matplotlib.pylab as plt plt.figure(figsize=(10, 5) 그래프 x축, y축 범위 지정 - 그래프(axes)의 x축 y축에서 표현될 최소, 최대값을 지정함 - plt.xlim(최소, 최대) - plt.ylim(최소, 최대) import matplotlib.pylab as plt plt.figure(figsize=(10, ..

with plt.style.context() matplotlib 에서는 with 구문을 사용해서 그래프 전체 스타일을 변경 가능함 그래프 스타일 조회 그래프 스타일을 조회할 수 있음 print(plt.style.available) >> ['Solarize_Light2', '_classic_test_patch', '_mpl-gallery', '_mpl-gallery-nogrid', 'bmh', 'classic', 'dark_background', 'fast', 'fivethirtyeight', 'ggplot', 'grayscale', 'seaborn-v0_8', 'seaborn-v0_8-bright', 'seaborn-v0_8-colorblind', 'seaborn-v0_8-dark', 'seaborn-v..

plot 가장 기본적인 그래프는 라인그래프로, 별도의 그래프 형태 지정이 없다면 라인 그래프로 그려짐 스타일 옵션 color 색 이름 또는 약자 사용 표시 의미 b blue g green r red c cyan m magenta y yellow k black w white marker 마커 설정이 없으면 그래프는 실선으로 그려짐 표시 의미 . point marker , pixel marker o circle marker v triangle_down marker ^ triangle_up marker triangle_right marker 1 tri_down marker 2 tri_up marker 3 tri_left marker 4 tri_right marker s square marker p pentag..
- Total
- Today
- Yesterday
- cleaned_data
- django clean
- CellForRowAt Not Called
- 장고 태그달기
- 데이터베이스 추천
- django 게시판
- iOS 검은 화면
- iOS 화면 안나옴
- django 로그인접근
- 장고 게시판
- pythonanywhere배포
- ModelForm Form 차이
- 테이블출력안됨
- iOS 데이터베이스
- django pythoneverywhere
- Django
- CellForRowAt 호출안됨
- django 태그
- iOS UITableView 출력안됨
- 까만 화면
- Realtime Database
- 알파벳 카운팅
- 실시간 데이터베이스
- django 개발일지
- python 웹 배포
- django tag
- 웹 배포
- Firebase 데이터베이스 추천
- UITableViewController Not Working
- pythonanywhere배포방법
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |