cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

How to add text to a graph after drawing using JSL?

Add the text "txt1" at the top left of the image coordinates (100,100)

Thanks!

2023-11-08_7-14-18.png

dt = Current Data Table();
P1 = dt << Graph Builder(
	Show Control Panel( 0 ),
	Variables( X( :age ), Y( :sex ) ),
	Elements( Heatmap( X, Y, Legend( 2 ) ) )
	//, Text( Center Justified, {100, 100  }, "txt1"); ??
);
11 REPLIES 11
lala
Level IX

Re: How to add text to a graph after drawing using JSL?

nw = Report( gb )[Graph Builder Box( 1 )];


dy = New Table( "K", Add Rows( 2 ), New Column( "A", Expression ), New Column( "B", Expression ) );
dy[1, 1] = nw;
lala
Level IX

Re: How to add text to a graph after drawing using JSL?

how can use the jsl

Thank Jim!

,SendToReport(
	Dispatch(
		{},
		"Graph Builder",
		FrameBox,
		{Add Graphics Script( 2, Description:( "" ), Text( Center Justified, {50, 50}, "Big Class" ) )}
	)
);

Recommended Articles