or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
---
Python Numpy / Matplotlib
資訊之芽 Python 語法班 2023/06/04
鄧人豪
課程大綱 Outline
教材連結請點這
Numpy
Numpy 可以幹嘛?
安裝 numpy
import numpy
基本矩陣
大小為 3 * 4,每格裡面是:值(Row, Col)
建立矩陣的方法
建立基本矩陣
用 list, tuple 或任何 array-like object 都可建立矩陣
建立特殊矩陣 - 1
建立特殊矩陣 - 2
建立特殊矩陣 - 3
建立特殊矩陣 - 4
建立特殊矩陣 - 5
等差數列 - 1
等差數列 - 2
Questions?
ndarray 基本性質與操作
ndarray 基本性質 - 1
ndarray 基本性質 - 2
Transpose Matrix 轉置矩陣
轉換型態
改變形狀
Array Indexing
One Dimensional Array Slicing
Two Dimensional Array Slicing - 1
Two Dimensional Array Slicing - 2
Array Filtering
Array Copy
Array Iterating
Questions?
Matrix Maths
Math Operation
Matrix Multiplication
Questions?
Matplotlib
Matplotlib 可以幹嘛?
安裝 matplotlib
import matplotlib
折線圖 Line Chart
只有 y 值的折線圖
有 x 與 y 值的折線圖
修改線的格式
多條線段
圖附於下一頁
Questions?
其他圖
分布圖
長條圖
直方圖
圓餅圖
顯示多張子圖
圖附於下一頁
Questions?
Thanks!