T O P I C R E V I E W |
kid |
Posted - 06/20/2002 : 10:31:32 AM I need to build a tool in a dialog, which allows zooming in the x-axis only. I’m using dotool 0; page.active = 1; getpts.max=x2-x1; getpts -x; but it will only take one point. I need it to return the range of x-y values, from the point user click in the graph preview, to the point he lets go of the mouse. |
1 L A T E S T R E P L I E S (Newest First) |
Laurie |
Posted - 06/25/2002 : 3:21:18 PM The getpts command gets a specified number of points.
You can create a custom template. First create your graph and then hold down the Cntrl key while using the Enlarger tool on the Tools toolbar to drag out a rectangular box. A new window named Enlarged will be created, plotting the data inside the rectangular box. If you merge these two graph windows, you'll then have a graph with two layers.
Right-click on the rectangular object and select Label Control. Update the script so that the axis scales for layer 2 will update. In the Label Control dialog, you can also limit the movement to the horizontal direction and that way will only rescale the X axis. (You might want to resize the rectangular object so that it is as tall as the layer.)
You can then attach this custom graph in your dialog.
Thank you.
OriginLab Technical Support |
|
|