logo

[Python] sin, cos, tan 그래프 출력하기

language-logoPython

• matplotlib.pyplot은 그래프를 출력하는 파이썬 패키지로, show 함수를 사용해 그래프를 보여줍니다.
• numpy는 수학과 과학 계산에 사용되는 파이썬 패키지로, sin, cos, tan 등의 함수를 제공합니다.
• sin, cos, tan 함수를 이용해 그래프를 그릴 때, axvline과 axhline 함수로 축 라인을 표시할 수 있습니다.
• numpy의 linspace 함수를 사용해 균일한 간격의 리스트를 생성할 수 있습니다.

thumbnail
북마크
공유하기
신고하기
1분 분량
조회수 198
profile-imagePersesTitan
2년 전
Copyright © 2025. Codenary All Rights Reserved.