Use VB or C # to develop JMP automation, how to reference Graph Buider object, JMP libraries have no Graph Buider object, have similar instance?
We can use the following code in VB program to create a Oneway analysis:
Sub CreateOneWay()<BR />Dim JMPDoc As JMP.Document Set MyJMP = CreateObject("JMP.Application") MyJMP.Visible = True Set JMPDoc = MyJMP.OpenDocument("C:\JMP\SAMPLE DATA\BIG CLASS.JMP")<BR />Dim Oneway As JMP.Oneway<BR />Set Oneway = JMPDoc.CreateOneway<BR />Oneway.LaunchAddY (“Height” )<BR />Oneway.LaunchAddX (“Age”)<BR />Oneway.Quantiles (True)<BR />Oneway.Launch<BR />Oneway.MeansAnovaT (True)<BR />Oneway.MeansStdDev (True)<BR />Oneway.UnequalVariances (True)<BR />Oneway.NormalQuantilePlot (True)<BR />Oneway.SetAlpha (0.05)<BR />Oneway.Save (oscCentered)<BR />Oneway.Save (oscStandardized)<BR />Oneway.CompareMeans occAllPairs, True<BR />Oneway.CompareMeans occEachPair, True<BR />End Sub
So how to use this way create analysis by the Graph builder, such as do Boxplot chart?
I can't find Graph Builder object in JMP library reference.
I Want to use VB to Create Boxplot chart by Graph builder,how can do it?
Sub CreateOneWay() Dim JMPDoc As JMP.Document Set MyJMP = CreateObject("JMP.Application") MyJMP.Visible = True Set JMPDoc = MyJMP.OpenDocument("C:\JMP\SAMPLE DATA\BIG CLASS.JMP") Dim Oneway As JMP.Oneway Set Oneway = JMPDoc.CreateOneway Oneway.LaunchAddY (“Height” ) Oneway.LaunchAddX (“Age”) Oneway.Quantiles (True) Oneway.LaunchOneway.MeansAnovaT (True) Oneway.MeansStdDev (True) Oneway.UnequalVariances (True) Oneway.NormalQuantilePlot (True) Oneway.SetAlpha (0.05) Oneway.Save (oscCentered) Oneway.Save (oscStandardized) Oneway.CompareMeans occAllPairs, True Oneway.CompareMeans occEachPair, True End Sub
I Can't find graph builder object in JMP Library.