Hi,I have been trying to figure out a way draw a filled rectangle on a contour plot through Labtalk. I have the X,Y coords of the boundary. Ideally, I would like to fill the region in with a specific color.
The closest thing that I could find in the Labtalk manual was the dotool command. It is easy to select the rectangle tool, but I couldn't figure out a way to perform the "click-and-drag" programmatically.
Unfortunately, the size of the rectangle will vary from plot to plot, and as the axes are rescaled, which appears to prevent me from creating a graphic object and just reloading every time I generate a graph.
Any help would be greatly appreciated.