Subscribe Bookmark RSS Feed

How to add a data table into a png?

vishwasanj

Frequent Contributor

Joined:

Dec 27, 2016

Hi All,

I am using H list box to append couple of graphs together in Graph builder as saving it in .png format.

Is there a way to add a small data table(custom made) just to show pass, fail etc and append it in the same .png file?

 

Thank you.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson

Super User

Joined:

Jun 22, 2012

Solution

A couple different ways can be used.

1. Create a New Data Box in the Display Window

    Here is the example from the Scripting Indes

Names Default To Here( 1 );
dtA = Open(
	"$SAMPLE_DATA/Big Class.jmp",
	invisible
);
New Window( "school",
	H List Box(
		dtA << New Data Box(),
		Text Box(),
		dtA <<
		Distribution(
			ContinuousDistribution(
				Column( :weight )
			),
			NominalDistribution( Column( :age ) )
		)
	)
);
dtA = 0;

2. Copy the data table to a Journal

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Journal();

and then just append the journal to the Display window

 

Jim
1 REPLY
txnelson

Super User

Joined:

Jun 22, 2012

Solution

A couple different ways can be used.

1. Create a New Data Box in the Display Window

    Here is the example from the Scripting Indes

Names Default To Here( 1 );
dtA = Open(
	"$SAMPLE_DATA/Big Class.jmp",
	invisible
);
New Window( "school",
	H List Box(
		dtA << New Data Box(),
		Text Box(),
		dtA <<
		Distribution(
			ContinuousDistribution(
				Column( :weight )
			),
			NominalDistribution( Column( :age ) )
		)
	)
);
dtA = 0;

2. Copy the data table to a Journal

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Journal();

and then just append the journal to the Display window

 

Jim