跳至內容

File:Binary logarithm plot with ticks.svg

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

原始檔案(SVG 檔案,表面大小:408 × 325 像素,檔案大小:56 KB)


摘要

描述
English: Binary logarithm plot with ticks.
日期
來源 自己的作品
作者 Krishnavedala
其他版本 File:Binary_logarithm_plot_with_ticks.png
SVG開發
InfoField
 
SVG檔案的原始碼通過W3C驗證
 
vector image使用Matplotlib創作。
原始碼
InfoField

Python code

Created using python
from numpy import linspace,log2
from matplotlib.pyplot import *
from mpl_toolkits.axes_grid.axislines import SubplotZero

x = linspace(0,10,150)
y = log2(x)

fig = figure(figsize=(5,4))
ax = SubplotZero(fig,111)
fig.add_subplot(ax)
ax.grid(True)
for direction in ["xzero","left"]:
	ax.axis[direction].set_axisline_style("-|>")
	ax.axis[direction].set_visible(True)
for direction in ["right","bottom","top"]:
	ax.axis[direction].set_visible(False)
ax.plot(x,y,linewidth=2)
ax.plot([1,2,4,8],[0,1,2,3],'ko')
ax.text(10,-1,r"$x$")
ax.text(0.2,3.5,r"$y=\log_2(x)$")
ax.minorticks_on()
#fig.show()
fig.savefig("Binary_logarithm_plot_with_ticks.svg",bbox_inches="tight",\
	pad_inches=.15)

授權條款

我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
w:zh:創用CC
姓名標示 相同方式分享
您可以自由:
  • 分享 – 複製、發佈和傳播本作品
  • 重新修改 – 創作演繹作品
惟需遵照下列條件:
  • 姓名標示 – 您必須指名出正確的製作者,和提供授權條款的連結,以及表示是否有對內容上做出變更。您可以用任何合理的方式來行動,但不得以任何方式表明授權條款是對您許可或是由您所使用。
  • 相同方式分享 – 如果您利用本素材進行再混合、轉換或創作,您必須基於如同原先的相同或兼容的條款,來分布您的貢獻成品。
GNU head 已授權您依據自由軟體基金會發行的無固定段落、封面文字和封底文字GNU自由文件授權條款1.2版或任意後續版本,對本檔進行複製、傳播和/或修改。該協議的副本列在GNU自由文件授權條款中。
您可以選擇您需要的授權條款。

說明

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

在此檔案描寫的項目

描繪內容

image/svg+xml

0a71918e02405a88b2532aeceba77127bdcb25cf

斷定方法:​SHA-1 中文 (已轉換拼寫)

57,241 位元組

325 像素

408 像素

檔案歷史

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

日期/時間縮⁠圖尺寸使用者備⁠註
目前2011年6月5日 (日) 22:51於 2011年6月5日 (日) 22:51 版本的縮圖408 × 325(56 KB)Krishnavedalaremoved one '0' at the origin and kept the texts big enough like the previous edit
2011年6月5日 (日) 15:13於 2011年6月5日 (日) 15:13 版本的縮圖408 × 325(76 KB)JohnBlackburneMake axis labels bigger and clearer, so readable at thumbnail size
2011年6月5日 (日) 09:59於 2011年6月5日 (日) 09:59 版本的縮圖408 × 325(56 KB)Krishnavedala{{Information |Description ={{en|1=Binary logarithm plot with ticks. Created using python. <syntaxhighlight lang="python"> from numpy import linspace,log2 from matplotlib.pyplot import * from mpl_toolkits.axes_grid

下列頁面有用到此檔案:

全域檔案使用狀況

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

檢視此檔案的更多全域使用狀況