c:c_에_matplotlib_라이브러리_추가해서_그래프_그리기

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
c:c_에_matplotlib_라이브러리_추가해서_그래프_그리기 [2022/01/16 21:55] – created jonghoonc:c_에_matplotlib_라이브러리_추가해서_그래프_그리기 [2026/03/24 16:38] (current) – removed admin
Line 1: Line 1:
-이 문서는 Ubuntu-20.04 LTS 버전 기준으로 작성되었다. 
  
-    - git clone을 이용하든 [[https://github.com/lava/matplotlib-cpp]]에 직접 접속하든 선택하여 matplotlibcpp.h파일을 /usr/include 혹은 /usr/local/include 에 넣는다. 
-    - sudo apt install python-numpy를 터미널에서 실행한다. 
- 
-다음은 간단히 sin 그래프를 그리는 예제코드다. 
-<Code:C++> 
-#include <vector> 
-#include <cmath> 
- 
-using std::vector; 
-using std::sin; 
-using std::pi; 
-</Code> 
  • c/c_에_matplotlib_라이브러리_추가해서_그래프_그리기.1642337756.txt.gz
  • Last modified: 2023/09/05 15:46
  • (external edit)