[Kst] X-axis time scale to match sample rate
Brisset, Nicolas
Nicolas.Brisset at eurocopter.com
Mon Oct 19 16:08:53 CEST 2009
I just want to add that using the "edit multiple" functionality it is a
breeze to change the X-axis vector of all curves (or a subset) at once.
Nicolas
> Hi Ben,
>
> There is no simple way but the following works well.
> The basic idea is to create a equation that scales the INDEX vector by
the
> desired sample rate and then plots the y-vector against this.
>
> * Read in the data as usual
> * Create a new equation: Data...New Equation...
> * In the "New equation" dialog enter the following in the "Equation"
> field:
> [INDEX]*<scale>
> where <scale> is the desired sample rate (e.g. [INDEX]*5.0)
> * Select "Do not place in any plot" and hit "OK"
> * Create a new curve: Data... New Curve...
> * For the "X axis vector" select the output of the new equation:
> "INDEX*<scale>/sv" (note that it is /sv and NOT /xsv)
> For the "Y axis vector" select your usual y-axis vector
> * Click "OK"
>
> This should produce the desired result.
>
> Andrew
More information about the Kst
mailing list