File:Fourier heat in a plate.png

原始文件(2,960 × 2,960像素,文件大小:487 KB,MIME类型:image/png


摘要

描述
English: Heat distribution in a metal plate, using Fourier's method.
Bahasa Melayu: Pengedaran panas di sebuah plat logam, menggunakan kaedah Fourier.
Sunda: Distribusi panas dina hiji pelat métal, ngagunakeun métoda Fourier.
日期 2008年2月15日 (原始上传日期)
来源 自己的作品
作者 英语维基百科Loisel

许可协议

Public domain 本作品已被作者英语维基百科Loisel释出到公有领域。这适用于全世界。
在一些国家这可能不合法;如果是这样的话,那么:
Loisel无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。

Creation

This file was created with Python

import numpy as np
import matplotlib.pyplot as plt

x = y = np.linspace(0, np.pi, 2**12)
X, Y = np.meshgrid(x, y)

T = 0
N = 200
for n in np.arange(1,N):
    term = 2*(-1)**(n+1)/n*np.sinc(n/(N+1))*np.sin(n*X) * np.sinh(n * Y)/np.sinh(n*np.pi)
    T += term

fig = plt.figure(dpi=800)
ax = fig.add_subplot(111)
ax.set_aspect('equal')
ax.set_facecolor('none')
plt.axis('off')
plt.pcolormesh(X, Y, T, cmap=black_body)
plt.tight_layout()
plt.savefig("Fourier heat plate.png", bbox_inches='tight', pad_inches=0)

The Black Body color map was obtained here. The sinc function in the code arises in order to eliminate ringing.

A previous version of this file was created with MATLAB

f = @(x,y,n) 2*(((-1).^(2:n+1))./((1:n).*sinh((1:n).*pi))) ...
    * (sin((1:n)'*x).*sinh((1:n)'*y));
ys = 0:0.01:pi;
g = [];
for y = ys
    n = max(20,min(100,-10*log(pi-y)/(pi-y)));
    g = [g; f(ys, repmat(y, 1, length(ys)), n)];
end
g(end, :) = ys';
imagesc(ys,ys,g(end:-1:1,:));
colormap hot
axis square
axis off
print('-dpng',  '-r600', 'Fourier heat in a plate')

原始上传日志

原始描述頁面位於這裡。下列使用者名稱均來自en.wikipedia。
  • 2010-01-02 10:24 Fastily 409×410× (20774 bytes) Crop out whitespace
  • 2008-02-15 22:32 Loisel 672×504× (12407 bytes) Had to flip MATLAB's silly y coordinates.
  • 2008-02-15 22:24 Loisel 875×672× (13817 bytes) {{Information |Description= |Source=self-made |Date= |Location= |Author=~~~ |Permission= |other_versions= }} MATLAB snippet: f=@(x,y,n) 2*(((-1).^(2:n+1))./((1:n).*sinh((1:n).*pi))) ... * (sin((1:n)'*x).*sinh((1:n)'*y)); ys=0:0.01:pi; g=[]; for y=ys

说明

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

此文件中描述的项目

描繪內容

文件历史

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

日期/时间缩⁠略⁠图大小用户备注
当前2020年11月5日 (四) 00:582020年11月5日 (四) 00:58版本的缩略图2,960 × 2,960(487 KB)AkanoToEAdded more terms for sum and removed Gibbs ringing in upper right corner
2020年11月4日 (三) 02:252020年11月4日 (三) 02:25版本的缩略图2,960 × 2,960(446 KB)AkanoToEUsed a similar color map as before, but still perceptually uniform ([https://www.kennethmoreland.com/color-advice/ Black Body])
2020年11月3日 (二) 22:212020年11月3日 (二) 22:21版本的缩略图2,960 × 2,960(469 KB)AkanoToEChanged colormap to a perceptually uniform version (https://matplotlib.org/3.1.1/tutorials/colors/colormaps.html inferno)
2016年4月25日 (一) 22:312016年4月25日 (一) 22:31版本的缩略图2,932 × 2,752(56 KB)NicoguaroCrop image.
2016年4月25日 (一) 22:282016年4月25日 (一) 22:28版本的缩略图4,800 × 3,600(78 KB)NicoguaroChange in colormap and higher resolution
2010年5月15日 (六) 01:512010年5月15日 (六) 01:51版本的缩略图409 × 410(20 KB)File Upload Bot (Magnus Manske) {{BotMoveToCommons|en.wikipedia|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}} {{Information |Description={{en|MATLAB/Octave snippet: f=@(x,y,n) 2*(((-1).^(2:n+1))./((1:n).*sinh((1:n).*pi))) ... * (sin((1:n)'

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

元数据