Mathplot:
https://www.runoob.com/w3cnote/matplotlib-tutorial.html
https://blog.csdn.net/tcy23456/article/details/83505486
https://www.runoob.com/numpy/numpy-matplotlib.html
这个东西感觉并不好用啊。还是试试别的吧
Manim教程
https://www.eulertour.com/learn/manim/coordinate.html
-
控制面板->区域和时钟->更改日期时间或数字格式->管理->更改系统区域设置
-
下载manim from github
-
修改\manim-master\environment.yml 中 - numpy==1.16.4 , - scipy==1.3.0
-
pip3 install https://download.lfd.uci.edu/pythonlibs/q4hpdf1k/pycairo-1.18.2-cp37-cp37m-win_amd64.whl
-
pip3 install manimlib --default-timeout=1000 (后面这个参数防止超时)
-
安装下面内容
1. Install FFmpeg.
2. Install Cairo. For most users,pycairo‑1.18.0‑cp37‑cp37m‑win32.whl
will do fine.
需要先去下载这个文件whl。然后执行
sh pip3 install C:\path\to\wheel\pycairo‑1.18.0‑cp37‑cp37m‑win32.whl
3. Install a LaTeX distribution.MiKTeX is recommended.
4. Install SoX.
5. Install the remaining Python packages.
Make sure thatpycairo==1.17.1
is changed topycairo==1.18.0
in requirements.txt.
git clone https://github.com/3b1b/manim.git
cd manim
pip3 install -r requirements.txt
python3 manim.py example_scenes.py SquareToCircle -pl
image
网友评论