From daniel.l.dietrich at nasa.gov Mon Apr 29 07:50:46 2019
From: daniel.l.dietrich at nasa.gov (Dietrich, Daniel L. (GRC-LTX0))
Date: Mon, 29 Apr 2019 14:50:46 +0000


Subject: Dual x-axis ???
Message-ID: <B2D685B7-0E89-459C-8874-650ACB50685B@nasa.gov>

Good Morning,

I think this is probably simple and that I?m just missing, so hopefully someone can point me in the right direction.

I have data in an x-y pair where the x-axis is time (it is not uniformly spaced though so I can?t use internal scaling). The format of the time wave (xwave) is actually units of date/time which Igor handles easily and nicely. When I display and calculate, however, it is more convenient to use elapsed time from some event time in the data. So I create a second x-wave (xwave2) which is a duplicate of xwave defined as (xwave2 = xwave ? xwave[pzero] ) where pzero is the zero point in the xwave. For most of the calculations that is the most convenient format. When I display some graphs, however, I would like to display ywave vs xwave2 but also have a mirror axis on the top of xwave so I can see the date and time that some critical point of the data occurred but have the elapsed seconds as the main x-axis. I looked at the Transform Package which is close, but doesn?t seem to quite do it.

Also it goes without saying that if I change the scale of the x-axis, I?d like the top mirror axis to change as well.

Thanks in advance for your help.

Cheers,

Dan

Dan

Daniel L. Dietrich
NASA Glenn Research Center
Daniel.L.Dietrich at nasa.gov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://info-igor.org/attachments/20190429/98df63b4/attachment.html>