Our World Statistics Day conversations have been a great reminder of how much statistics can inform our lives. Do you have an example of how statistics has made a difference in your life? Share your story with the Community!
Choose Language Hide Translation Bar
Highlighted
KinshiXian
Level I

Graph builder in JMP libraries

Use VB or C # to develop JMP automation, how to reference Graph Buider object, JMP libraries have no Graph Buider object, have similar instance?

4 REPLIES 4
Highlighted
ThuongLe
Level IV

Re: Graph builder in JMP libraries

Could you be more specific?
Highlighted
KinshiXian
Level I

Re: Graph builder in JMP libraries

We can use the following code in VB program to create a Oneway analysis:

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.Launch
Oneway.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

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?

 Boxplot.png

Highlighted
KinshiXian
Level I

Re: Graph builder in JMP libraries

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
Highlighted
KinshiXian
Level I

Re: Graph builder in JMP libraries

I Can't find graph builder object in JMP Library.

JMP_Lib.jpg

Article Labels