Transform Axes Canned Transformations
jjweimer
...Perhaps I should add some canned Arrhenius transformation function.
I think the following two canned transformations for temperature would be useful:
a) oC -> 1/K: 1/(x +273.15)
b) 1/K -> oC: (1/x) - 273.15
BTW, a factor of 1000 is used to adjust the 1/K scale to be in inverse milli-Kelvin (which can also be done using the proper escape codes in the axis label).
(and I meant to append this to the Wish List rather than start a new topic --- my apologies)
No problem- I was able to find your new topic :)
Don't you have your minus and plus signs backward? If X is degrees C, 1/K would be 1/(X-273.15), eh?
I suppose I should just have both an InverseKelvin and InverseMilliKelvin function. It's a pain having to deal with the coefficient wave. The ModifiedReciprocal function can actually do the job here, but isn't very convenient to use. It requires a coefficient wave: InverseKelvinCoefs={1, -273.15}, and InverseMilliKelvinCoefs={1000, -273.15}
The other direction requires writing a new function.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
October 29, 2008 at 02:36 pm - Permalink
When X is oC, your equation leads to negative inverse Kelvin temperatures. Try finding 1/K from X = 0 oC in my equation a) versus your equation.
I think having an additional built-in function with milli-inverse Kelvin or milli-Kelvin seems over-kill with the ease that users can roll their own.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
October 29, 2008 at 05:53 pm - Permalink
Oh, yeah- Degrees C has *small* numbers, doesn't it? My forehead already has bump from running into a book shelf while accessing the back of my computer, so I'll forgo the requisite head-slap...
Until you get someone that gets that rabbit-in-the-headlights look when they see code. If I'm lucky, they will post here and you will answer it :)
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
October 31, 2008 at 05:24 pm - Permalink