3.7.5.55 SDF

LabTalk Object Type:

Utility

‎ The shared data filter object access the graph based filter used for the plot.

Properties

Property Access Description
SDF.enable Read/write,
numeric
Enable/disable data filter
SDF.nf Read,
numeric
Number of columns to have filter
SDF.wks$ Read,
string
worksheet range
SDF.fn.col Read,
numeric
first filter on which col
SDF.fn.filter$ Read,
string
query string
SDF.fn.filterx$ Read,
string
the x variable used inside the filter

Method

Method Description
SDF.fn.set set/replace the filter


Example

//import ..\Samples\Statistics\automobile.dat and make a scatter plot with Col(C) as X Col(F) as Y
//active the graph
layer.plot.DF();//create a shared data filter
SDF ff = layer.plot.SDF;
ff.wks$=;
ff.Set(d:3:"between(18,23)");//filter on Col(D)
ff.Set(e:3:"between(1700,2200)");//filter on Col(E)
ff.nf=;//2
ff.f1.col=;//4