The AutoDocWindows collection contains methods and properties for the application window.
This example shows how to reference the plot window.
'Declares GrapherApp as an object
Dim GrapherApp As Object
'Creates an instance of the Grapher Application object
'and assigns it to the variable named "GrapherApp"
Set GrapherApp = CreateObject("Grapher.Application")
'Make Grapher visible
GrapherApp.Visible = True
'Declare Docs as Object
Dim Docs As Object
'Assigns the Documents collection to the
'variable named "Docs"
Set Docs = GrapherApp.Documents