Accueil > Community > FPScript > How to adjust the sampling rates of different datasets > Reply To: How to adjust the sampling rates of different datasets
There is a function Sample available in FPScript which can be used to re-sample a dataset. A formula to create a Dataset for XY-display could look like this:
Signal(Dataset1, Sample(Dataset2, Diataset1.x))
The formula above should be used only, if the X range of Dataset2 exceeds that of Dataset1. If the opposite is the case, then the formula should be:
Signal(Sample(Dataset1, Dataset2.x), Dataset2)
Notifications