cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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