Look in the examples for FILTER select FIR Filter example
For IIR filters slect the IIR filter example. The main problem that I see with inputting xy's data is that it's tricky for a program to decide which trade-off to make for passband ripple or cut off for example.