File:Emissive Power.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 676 × 474 pixels, file size: 62 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Power emitted by a black body with emissivity equals to one and an area of 1 squared meter.
Español: Potencia emitida por un cuerpo negro con emisividad igual a la unidad y un área de 1 metro cuadrado.
Date
Source Own work
Author Nicoguaro
Other versions
SVG development
InfoField
W3C grn 
The SVG code is valid.
Created with Matplotlib-logo 
This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt
from matplotlib import rcParams

rcParams['font.size'] = 16
rcParams['font.family'] = 'serif'

# Colors
red = '#e41a1c'
blue = '#377eb8'
green = '#4daf4a'
purple = '#984ea3'

# Data
sigma = 5.670373e-8
area = 1
emissivity = 1
T = np.linspace(0, 400)
P = lambda T: sigma * area * emissivity * T**4

# First plot
fig = plt.figure(figsize=(8, 5))
ax1 = fig.add_subplot(111)
plt.plot(T, P(T), lw=2, color='black')
plt.grid(b=True, ls='--', alpha=0.4)
plt.xlabel(r"$T$ (K)")
plt.ylabel(r"$P$ (W/m$^2$)")

# Annotations
plt.plot(273.15, P(273.15), 'o', color=blue, ms=10)
plt.text(240, P(273.15), 'Ice', color=blue, va='center')
plt.plot(293.15, P(293.15), 'o', color=green, ms=10)
plt.text(300, P(293.15), 'Room\ntemperature', color=green, va='top')
plt.plot(310.15, P(310.15), 'o', color=purple, ms=10)
plt.text(220, P(310.15) + 10, 'Body\ntemperature', color=purple, va='bottom')
plt.plot(373.15, P(373.15), 'o', color=red, ms=10)
plt.text(320, P(373.15), 'Boiling\nwater', color=red)

# Second axis
ax2 = ax1.twiny()
ax2.set_xlim([-273.15, 126.85])
plt.xlabel(r"$T$ ($^\circ$C)")

plt.savefig('Emissive_Power.svg', bbox_inches='tight')
plt.show()

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:32, 26 June 2016Thumbnail for version as of 17:32, 26 June 2016676 × 474 (62 KB)Nicoguaro (talk | contribs)User created page with UploadWizard

The following 2 pages use this file:

File usage on other wikis

The following other wikis use this file:

Metadata