I am going to post part of my code to see if anyone can pick out my Plot syntax error without diving into the complexity of my code. Basically, I am creating a plot with ‘feet’ as the input, and MMA is putting the units in metric when plotted.
Plot[{\[CapitalDelta]pfu[x]/psi, \[CapitalDelta]pfd[x]/psi}, {x, 0 ft,
120 ft},
AxesLabel -> {Subscript[\[CapitalDelta]h, u, d] "[ft]",
Subscript[\[CapitalDelta]p, f] "[psi]"},
GridLines -> Automatic] // Magnify
And here is the output:
ccarter
(W. Craig Carter)
April 4, 2014, 3:33pm
2
Hello Kyle,
Subscripts can be a pain, but if you start thinking in TeX’s box language, I find that things get a bit easier.
Plot[{\[CapitalDelta]pfu[x]/psi, \[CapitalDelta]pfd[x]/psi}, {x, 0 ft,
120 ft}, AxesLabel -> {
DisplayForm@
StyleBox[
RowBox[{SubscriptBox["\[CapitalDelta]h", "u d"], "[ft]"}]],
DisplayForm@
StyleBox[
RowBox[{SubscriptBox["\[CapitalDelta]p", "f"], "[psi]"}]]
}, GridLines -> Automatic]
WCC
WCC,
Thank you for the reply. Does your plot show the x-axis in feet?
Kyle