Figure 1: Pressure versus Depth
// Comment
from pylab import *
import re
x = arange(0,10.3,.01)
y = 1+(9810*x/101325)
plot(x,y)
xlabel('Depth (m)')
ylabel('Pressure (atm)')
"""
title(r'$Pressure Depth$')
"""
title(r'$Pressure(h)$')
"""
k = re.sub(r"(\w)([A-Z])", r"\1 \2", "WordWordWord")
title(r'$re.sub(r"(\w)([A-Z])", r"\1 \2", "WordWordWord")$')
"""
show()

No comments:
Post a Comment