原始文件(SVG文件,尺寸为400 × 400像素,文件大小:737字节)


摘要

描述

Polynomial of degree 3 with roots at 2, -1, and -4:

日期
来源 Polynomialdeg3.png
作者 N.Mori
授权
(二次使用本文件)
Public domain 本作品已被作者N.Mori释出到公有领域。这适用于全世界。
在一些国家这可能不合法;如果是这样的话,那么:
N.Mori无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。
SVG开发
InfoField
 
SVG的源代码为有效代码
 
矢量图使用Matplotlib创作。
源代码
InfoField

Python code

Source code
# Author: Ika, 2013-07-24
from pylab import *
import pylab as pl
import numpy as np

# Create a figure of size 8x6 points, 80 dots per inch
pl.figure(figsize=(8,8), dpi=80)

# Create a plot of the cubic function y=(x+4)(x+1)(x-2)/4
x = np.linspace(-5.0,4.0,256, endpoint=True)
y = (x+4)*(x+1)*(x-2)/4
pl.plot(x,y,color="magenta", linewidth=3.0, linestyle="-")

# Set labels
pl.xlim(-5,4)
pl.ylim(-4,7)

# Move the spines
ax = pl.gca()
ax.set_xlabel('x')
ax.set_ylabel('y')
ax.text(-5, 3, r'$y=\frac{1}{4}(x+4)(x+1)(x-2)$', fontsize=20)

# Set up the grid
ax.spines['right'].set_color('none')
ax.spines['top'].set_color('none')
ax.xaxis.set_ticks_position('bottom')
ax.spines['bottom'].set_position(('data',0))
ax.yaxis.set_ticks_position('left')
ax.spines['left'].set_position(('data',0))
ax.grid(color="grey",linestyle='--',linewidth=1)

# Save the figure to the output SVG file
plt.savefig("Cubic_Function_SVG.svg");

说明

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

此文件中描述的项目

描繪內容

文件历史

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

日期/时间缩⁠略⁠图大小用户备注
当前2015年1月2日 (五) 16:332015年1月2日 (五) 16:33版本的缩略图400 × 400(737字节)KrishnavedalaReverted to version as of 13:02, 30 August 2008: Cleaner rendering. text and graph not clear in the newly uploaded version.
2013年7月24日 (三) 08:332013年7月24日 (三) 08:33版本的缩略图720 × 720(34 KB)IkamusumeFan1. Redrew completely using Matplotlib; 2. Source code added; 3. Labels added.
2008年8月30日 (六) 13:022008年8月30日 (六) 13:02版本的缩略图400 × 400(737字节)N.Mori{{Information |Description= |Source= |Date= |Author= |Permission= |other_versions= }}
2008年1月6日 (日) 13:422008年1月6日 (日) 13:42版本的缩略图400 × 400(965字节)N.Mori{{Information| |Description=Polynomial of degree 3: <math>y=\frac{x^3}{4}+\frac{3x^2}{4}-\frac{3x}{2}-2=\frac{1}{4}(x+4)(x+1)(x-2)</math> |Source=Image:Polynomialdeg3.png |Date=2007-01-06 |Author=~~~ |Permission=See below |other_versions=None }} [[Cat

全域文件用途

以下其他wiki使用此文件:

查看本文件的更多全域用途

元数据