Welcome to Golden Software Support

How can I use scripter to make all curves of the activity grapher file to use one worksheet instead of choosing the worksheet in the curves' Property Manager one by one?


1 comment

  • Official comment
    Brittany Bodane


    Thank you for posting your question. There are two ways to more easily create the plots from different columns of the same worksheet. 

    To do this through the user interface, see the steps below: 

    1. Create the first plot normally using the Home | New Graph | <plot type> command. For our example, we'll select Home | New Graph | Basic | Line Plot. 
    2. In the Object Manager, click over the Line/Scatter Plot layer to select it. 
    3. In the Property Manager on the Plot tabclick the Create button next to New plot. This will automatically plot the next column of data. 
    4. Repeat as needed. The column can be changed, if desired, in the Data section of the Plot tab.  


    This can also be done via automation. You can find a good example of how this is done in the sample file LinePlot.bas found in C:\Program Files\Golden Software\Grapher 13\Samples\Scripts by default. You may also be interested in using Grapher's Script Recorder. More information about this can be found in the article Creating A Script Using Grapher's Script Recorder

    If you have any additional questions, feel free to reach out to us at support@goldensoftware.com



    Golden Software Technical Support

    Comment actions Permalink

Please sign in to leave a comment.