Graph matrices in Grapher
I notice in Grapher 13 (and several previous versions) that there is provision to operate a BASIC program to produce a matrix of graphs. How does this work? What is required to do it? What is the result?
Regards,
R
oger

Hello Roger,
I believe you're referring to the Scatter Plot Matrix script available here: https://support.goldensoftware.com/hc/enus/articles/231555508HowcanIwriteaGrapherscripttoplotascatterplotmatrixfromauserdefineddatafile. The article describes how to run the script and the comments in the script itself describe what the lines of script are doing. All you need is a data file.
Open the data file and make note of the number of variable columns, the first row of data, and the last row of data.
When you run the script, the first thing that happens is it will prompt you for your data file. Next you're prompted for the number of variables in the data file. Then you're prompted to enter the first row of data, followed by a prompt for the last row of data. Lastly you're asked how big you want the matrix to be (in inches).
At this point, the script runs. Say you had 4 variables. The output is a 4x4 table/grid/matrix of plots, where the plots along the diagonal are histogram plots of each variable column, and the other plots are scatterplots of the variables against one another. The output is something like this:
Thanks,
Leslie
Please sign in to leave a comment.
Comments
2 comments