Thank you very much for your quick reply, I appreciate it!
Then create the group containing the four series If sorting the workfile isn't practical (e.g., it's dated), then you can make a new series XORDERED and a new series FITORDERED which contain ordered values for which you wish to compute the median fit and the corresponding fit values. You can, if feasible, solve for this by first sorting the workfile by X, then freezing MYGRAPH and redoing the steps above. If, however, the X are not ordered in the workfile, then the line is going to connect sequential points which is not what you want. Legend element 1 is for the X axis, legend 2 is for the first scatter, and legend 3 is for the second. Note that this is kind of strange for scatters. We are also changing the legend assignment. Note that line/symbol 1 is for the first scatter and line/symbol 2 is for the second scatter so that we are changing the second scatter to a connected line with no symbols.