

This is how it is written in JSL: haveFrameBox = 1 Basically I am going to say the following to JMP: “try and do this, if you can’t then I guess I have come to the end of all the frame boxes”. We’re allowed to perform invalid tasks in a script so long as we anticipate that an error can occur, which we do by using a “try block”. At some point I will send the message to a frame box that doesn’t exist. I send the marker size message to the first frame box, then the second, and so on. So now I need to calculate the number of distinct levels of my classification variable (age in this example) – or do I? The number of frame boxes is data dependent. up to the maximum number of tiles of the trellis plot. I need to apply the marker size individually to each frame box.

Well I got exactly what I requested, but it’s not what I want. I’ve highlighted the important line where the marker size message is sent to the frame box. Variables( X(:height), Y(:weight), Wrap(:age )), Let’s try it: dt = Open( "$SAMPLE_DATA/big class.jmp" ) So for example, if I want to increase the marker size then I send a message to the frame box. This is a display box that has properties associated with the graphical elements. In scripting terminology each “tile” of the trellis plot is a frame box. After all, isn’t that the point of scripting? These are great until we want to exercise greater control on them through our scripts. Often I want to utilise the “wrap” property to create trellis plots: But sometimes the graph builder gives me capabilities that I don’t have in other platforms. If I need a scatter plot I will script an overlay plot. The graph builder allows me to rapidly evaluate different graphical representations.īut when I am scripting that flexibility of the platform becomes a nightmare! To be honest, most times I will not use the graph builder for scripting.

I use it a lot when I’m not so familiar with a set of data, and I’m not quite sure how I want to plot the data. If you want to interactively build graphs in JMP then the graph builder platform is great.
