This tool can be used to create a scattergram for two numerical fields contained within a shapefile's attribute table. The user must specify the name of an input shapefile and the name of two of the fields contained it the associated attribute table.
The following is an example of a Python script that uses this tool:
wd = pluginHost.getWorkingDirectory()
inputData = wd + "countries.shp" + ";" + "POPULATION" + ";" + "MEAN_AGE"
args = [inputData]
pluginHost.runPlugin("AttributeScattergram", args, False)
This is a Groovy script also using this tool:
def wd = pluginHost.getWorkingDirectory()
def inputData = wd + "countries.shp" + ";" + "POPULATION" + ";" + "MEAN_AGE"
String[] args = [inputData]
pluginHost.runPlugin("AttributeScattergram", args, False)