일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ELASTIC
- aggs
- TensorFlow
- API
- Java
- analyzer test
- 파이썬
- licence delete curl
- flask
- 900gle
- plugin
- zip 파일 암호화
- Test
- springboot
- Python
- License
- license delete
- query
- token filter test
- MySQL
- aggregation
- high level client
- matplotlib
- Mac
- docker
- Elasticsearch
- zip 암호화
- sort
- 차트
- Kafka
- Today
- Total
목록차트 (2)
개발잡부

선으로 된것들 총집합 관련글 15번 까지 반영 https://wikidocs.net/92094 15. Matplotlib 수평선/수직선 표시하기  그래프의 특정 위치에 수직선/수평선을 표시하기 위해서 ** ... wikidocs.net 코드 1 import matplotlib.pyplot as plt import numpy as np x = np.arange(0, 4, 0.5) plt.plot(x, x + 1, 'bo' ,label='x1') plt.plot(x, x**2 - 4, 'g--', label='x2') plt.plot(x, -2*x + 3, 'r:', label='x3') plt.xla..

코드 1 import matplotlib.pyplot as plt plt.plot([1, 2, 3, 4]) plt.show() 결과 #실행 python src/Chart.py 기본 그래프 음.. 음.. 스타일지정 코드 2 import matplotlib.pyplot as plt #그리고 plt.plot([1, 2, 3, 4], [1, 4, 9, 16], 'ro') plt.axis([0, 6, 0, 20]) #보여준다 plt.show() 포맷 문자열 ‘ro’는 빨간색 (‘red’)의 원형 (‘o’) ‘b-‘는 파란색 (‘blue’)의 실선 (‘-‘) 정리가 필요하군.. matplotlib.pyplot 모듈의 axis() 함수를 이용해서 축의 범위 [xmin, xmax, ymin, ymax]를 지정 여러 개..