File:Emissive Power.svg

From Vigyanwiki

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

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

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 genesis
InfoField
 
The SVG code is valid.
 
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

I, the copyright holder of this work, hereby publish it under the following licence:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 4.0 International licence.
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 licence, 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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

26 June 2016

File history

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

Date/TimeThumbnailDimensionsUserComment
current23:02, 26 June 2016Thumbnail for version as of 23:02, 26 June 2016676 × 474 (62 KB)wikimediacommons>NicoguaroUser created page with UploadWizard

The following page uses this file:

Metadata