File:Ideal gas isotherms.svg

Page contents not supported in other languages.
Frae Wikipedia, the free beuk o knawledge

Oreeginal file(SVG file, nominallie 305 × 314 pixels, file size: 31 KB)

This file is fae Wikimedia Commons n micht be uised bi ither waurks. The descreeption oan its file descreeption page thaur is shawn ablo.

Ootline

Descreeption
English: Ideal gas isotherms for one mole of the gas and at temperatures [1, 2, 4, 6, 8, 10]K using the equation . Created using python.
Date
Soorce Ain wirk
Author Krishnavedala
Other versions File:Ideal gas isotherms.png
SVG genesis
InfoField
 
The SVG code is valid.
 
This vector image was created with unknown tool.
Source code
InfoField

SVG code

from numpy import linspace, append
from matplotlib.pyplot import *
from mpl_toolkits.axes_grid.axislines import SubplotZero

fig = figure(figsize=(4,4))
ax = SubplotZero(fig,111)
fig.add_subplot(ax)
ax.grid(True)
ax.set_ylim(-1,15)
ax.set_xlim(-1,15)
ax.set_yticklabels([])
ax.set_xticklabels([])
for direction in ["xzero","yzero"]:
	ax.axis[direction].set_axisline_style("-|>")
	ax.axis[direction].set_visible(True)
for direction in ["left","right","bottom","top"]:
	ax.axis[direction].set_visible(False)

N, k, steps = 6.023e23, 1.38e-23, 100   # Avogadro number and Boltzmann const.
def gas_law(t):
	return N*k*t

V = linspace(1./steps,15,steps)
for T in [1, 2, 4, 6, 8, 10]:
	P = []
	for x in V:
		P = append(P,gas_law(T)/x)
	ax.plot(V,P,'b')

ax.text(15,-1,r"V")
ax.text(-1,15,r"P")
fig.savefig("Ideal_gas_isotherms.svg",bbox_inches="tight",\
	pad_inches=.15)

Licensin

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

File history

Clap oan ae date/time fer tae see the file aes it kithed at that time.

Date/TimeThummnailDimensionsUiserComment
current16:19, 23 Januar 2015Thumbnail fer version aes o 16:19, 23 Januar 2015305 × 314 (31 KB)KrishnavedalaReverted to version as of 13:54, 4 June 2011: Newer versions contains embedded inferior graphics in a vector image.
02:54, 9 Mairch 2014Thumbnail fer version aes o 02:54, 9 Mairch 20141,479 × 1,351 (538 KB)DerekleungtszheiAdded white background.
02:49, 9 Mairch 2014Thumbnail fer version aes o 02:49, 9 Mairch 20141,479 × 1,351 (538 KB)DerekleungtszheiBetter color and font. (More similar to the original image.)
13:54, 4 Juin 2011Thumbnail fer version aes o 13:54, 4 Juin 2011305 × 314 (31 KB)Krishnavedala{{Information |Description ={{en|1=Ideal gas isotherms for one mole of the gas and at temperatures [1, 2, 4, 6, 8, 10]K using the equation <math>PV = NkT</math> Created using python. <syntaxhighlight lang="python"

The'r nae pages airts tae this eimage.

Global file uisage

The follaein ither wikis uise this file:

Metadata