File:Logarithm derivative.svg

原始文件(SVG文件,尺寸为375 × 243像素,文件大小:44 KB)


摘要

描述
English: Graph of the logarithm and illustration of the derivative.

Created using python.

from numpy import linspace,log
from matplotlib.pyplot import *

lineEQ = lambda k,a: log(a)+(k-a)/a
x1 = linspace(0,7,100)
y1 = log(x1)
x2 = linspace(-1.5,4,3)
y2 = lineEQ(x2,1.5)
x3 = [1.5,2.5,2.5]
y3 = [][0],1.5), lineEQ(x3[0],1.5), lineEQ(x3[1],1.5)]

fig = figure(figsize=(5,3))
ax = fig.add_subplot(111)

for direction in ["left","bottom"]:
	ax.spines[direction].set_position('zero')
	ax.spines[direction].set_smart_bounds(True)
for direction in ["right","top"]:
	ax.spines[direction].set_color('none')
ax.xaxis.set_ticks_position('bottom')
ax.yaxis.set_ticks_position('left')

ax.grid(False)
ax.set_xticks([0,1.5,3,4,5])
ax.set_yticks([-2,-1,1])
ax.set_ylim(-2.2,1.5)
ax.set_xlim(-1,5.5)
ax.plot(x1,y1,'g',linewidth=1.)
ax.plot(x2,y2,'k',linewidth=1.)
ax.plot(x3,y3,'k--',linewidth=1.)
ax.plot(1.5,log(1.5),'ro')
ax.text(5.5,.2,"x")
ax.text(0.1,1.5,"y")
ax.text(4,1,r"$f(x)=\ln(x)$")
ax.text(2,.175,"1",fontsize=7)
ax.text(2.6,.5,r"$f^'(x)=\frac{1}{x}$",fontsize=12)
ax.minorticks_on()
#fig.show()
fig.savefig("Logarithm_derivative.svg",bbox_inches="tight",\
	pad_inches=.15)
日期
来源 自己的作品
作者 Krishnavedala
其他版本 File:Logarithm_derivative.png
 
W3C-validity not checked.

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
w:zh:知识共享
署名 相同方式共享
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
您可以选择您需要的许可协议。

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2011年6月5日 (日) 15:252011年6月5日 (日) 15:25版本的缩略图375 × 243(44 KB)JohnBlackburneMake text bigger and rearrange for readability
2011年6月5日 (日) 11:442011年6月5日 (日) 11:44版本的缩略图375 × 243(32 KB)Krishnavedala{{Information |Description ={{en|1=Graph of the logarithm and illustration of the derivative. Created using python. <source lang="python"> from numpy import linspace,log from matplotlib.pyplot import * lineEQ = la

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件: