Here is one way to do this:
Give the data table
You can graph it:
Names Default To Here( 1 );
New Table( "example",
Add Rows( 3 ),
New Column( "Sample",
Numeric,
"Nominal",
Format( "Best", 12 ),
Set Property( "Value Order", {Numerical Order( 0 )} ),
Set Selected,
Set Values( [1, 2, 3] ),
Set Display Width( 97 )
),
New Column( " Mean", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [70000, 45000, 65000] ) ),
New Column( "Standard deviation", Numeric, "Continuous", Format( "Best", 12 ), Set Values( [25800, 19100, 41200] ) )
);
Graph Builder(
Variables( X( :Sample ), Y( :" Mean"n ), Y( :Standard deviation ) ),
Elements(
Position( 1, 1 ),
Points( X, Y, Legend( 5 ) ),
Line( X, Y, Legend( 7 ) )
),
Elements(
Position( 1, 2 ),
Points( X, Y, Legend( 6 ) ),
Line( X, Y, Legend( 8 ) )
),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model( 5, Base( 0, 0, 0, Item ID( " Mean", 1 ) ) ),
Legend Model( 6, Base( 0, 0, 0, Item ID( "Standard deviation", 1 ) ) )}
),
Dispatch(
{},
"400",
LegendBox,
{Legend Position( {5, [0], 7, [2], 6, [1], 8, [3]} )}
)
)
)
Do you have a graphical format that is different than what I demonstrated? If so, please provide it, and the Community will jump in to help you with that.
Note: The creation of the data table and the graph was first done interactively, and then upon completion, I requested to JMP to provide me with the script.
Note 2: I suggest you take the time to read the document intitled: Discovering JMP available under the Help pull down menu.
Jim