跳至內容

File:Small-angle approximation for sine function.svg

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書

原始檔案(SVG 檔案,表面大小:720 × 540 像素,檔案大小:36 KB)


摘要

描述
English: Diagram showing the small-angle approximation of the sine function.
日期
來源 自己的作品
作者 Stephan Kulla (User:Stephan Kulla)
其他版本
SVG開發
InfoField
 
SVG檔案的原始碼通過W3C驗證
 
向量圖形使用Matplotlib創作。
原始碼
InfoField

Python code

import matplotlib.pyplot as plt
import numpy as np

from mpl_toolkits.axes_grid1.inset_locator import zoomed_inset_axes, mark_inset

xs = np.linspace(-7, 7, 10001)
sin_ys = np.sin(xs)

f, ax = plt.subplots()

ax.plot(xs,sin_ys, label="$\\sin(x)$")
ax.plot(xs, xs, label="$f(x)=x$")
ax.set_xlim(-7,7)
ax.set_ylim(-1.6,1.6)
ax.legend(loc=2)

axins = zoomed_inset_axes(ax,3.1,loc=4)
axins.plot(xs,sin_ys)
axins.plot(xs,xs)
axins.set_xlim(-0.6,0.6)
axins.set_ylim(-0.5,0.5)

mark_inset(ax, axins, loc1=3, loc2=2, fc="0.95", ec="0.7")

plt.xticks(visible=False)
plt.yticks(visible=False)

plt.savefig("Small-angle approximation for sine function.svg")

授權條款

我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
Creative Commons CC-Zero 此檔案在創用CC CC0 1.0 通用公有領域貢獻宣告之下分發。
在此宣告之下分發本作品者,已依據各國著作權法,在全世界放棄其對本作品所擁有的著作權及所有相關相似的法律權利,從而將本作品貢獻至公有領域。您可以複製、修改、分發和演示該作品,用於任何商業用途,所有這些都不需要請求授權。

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

著作權狀態 繁體中文 (已轉換拼寫)

檔案來源 Chinese (Taiwan) (已轉換拼寫)

上傳者的原創作品 繁體中文 (已轉換拼寫)

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸用戶備⁠註
目前2016年8月11日 (四) 08:44於 2016年8月11日 (四) 08:44 版本的縮圖720 × 540(36 KB)Stephan KullaUser created page with UploadWizard

下列頁面有用到此檔案:

全域檔案使用狀況

以下其他 wiki 使用了這個檔案:

詮釋資料