> I have two vectors that are different lengths (due to an effective
> difference in sapling rate). However, they cover the same amount of
> time. I want to plot them on the same XY-Graph (overlay) but I want
> them to be aligned by time, not points. How can I use the existing
> x-axis (to be displayed) but plot the second graph using a different
> x-axis(not displayed) so they line up dispite having a different
> number of points?
>
The other responses hopefully have you on your way, but in case they
don't, here is a quick overview.
If you have a recent version of LV, duplicate the X scale, using the
plot legend, choose a different X Scale for each plot. Set the X Scales
the interactively or via property nodes. The popup to hide the scale
that you d
on't want.
If you are using an antique LV, then you need to change your data to
match the scale that is there. Depending on the graph you are using
several techniques are available.
You mention an XY graph, the most general and probably the easiest in
this case. Apply a linear transform to each plot's X data to move it
from points to time. In otherwords, mutiply the X index by the dT and
add T0 so that they are plotted against time. Then set the X Scale
formatting to be Absolute time.
This can also be done with a waveform graph since you can make a
datatype that allows each plot to have its own clustered X0 and dX, but
this will only work if the points are evenly sampled within the plot.
If you want to use this, make the datatype be an array of cluster of X0,
dX, Y array. Each of the outer array elements can be given its own
value and the graph will do the linear transform for you. Again,
setting the X scale to show either time or relative time is probably
appropr
iate.
Greg McKaskle