File:Isothermal GIF.gif

Summary

Description
English: GIF illustration of the isothermal process.
Date
Source Own work
Author IkamusumeFan

Matplotlib (Python)

# Author: Ika, 9/1/2013.
# Code to generate the last frame.

from matplotlib.pyplot import *
from numpy import linspace, arange
from matplotlib.patches import Polygon
 
x1 = linspace(0,9,100)
y1 = 3100/x1
x2 = linspace(1,8,8)
y2 = 3100/x2
x3 = arange(1,6,0.01)
y3 = 3100/x3
verts = [(1,0)] + zip(x3,y3) + [(6,0)]
poly = Polygon(verts, facecolor='yellow',edgecolor='k')
 
fig = figure(figsize=(5,5))
ax = fig.add_subplot(111)
ax.grid(False)
ax.plot(x1,y1)
#ax.plot(x2,y2,'ro')
ax.add_patch(poly)
ax.text(4,2500,r"$PV=RT=3100 J$",size=20)
ax.text(1.1,3100,"1",size=36)
ax.text(6,530,"2",size=36)
ax.text(1.2,400,r"$W=\int_1^2P\mathrm{d}V$",size=20)
 
ax.set_ylim(0,3720)
ax.set_yticks(linspace(0,3100,6))
ax.minorticks_on()
ax.set_xlabel("V")
ax.set_ylabel("P")
 
fig.savefig("isothermal_5.png",bbox_inches="tight",\
        pad_inches=.15)

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0#Isothermal%20GIF.gifCategory:Self-published work
Category:Isothermal processes Category:Work (physics) Category:Animated GIF files
Category:Animated GIF files Category:CC-BY-SA-3.0 Category:Isothermal processes Category:Self-published work Category:Work (physics)