BookmarkSubscribe
Choose Language Hide Translation Bar

Re: Ways to draw a heart in JMP?

As Valentine's Day approaches I was reminded of this fun thread. I wonder if there are any new ways to do this in the last two years? Please share them here, and your JMP valentine could be featured on our social media channels -- thanks!

Read the JMP Blog: jmp.com/blog
0 Kudos

Re: Ways to draw a heart in JMP?

This way of drawing a heart isn't new, but making it interactive with the help of JMP Public is new. 

Press the play button and sliders at the bottom and use the menu beside 'Animated Heart' to change bubbleplot settings. See it on public.JMP.com.

Re: Ways to draw a heart in JMP?

This is great -- thanks, John!

Read the JMP Blog: jmp.com/blog
0 Kudos
Highlighted
ms
Super User ms
Super User

Re: Ways to draw a heart in JMP?

Time has created many shapes on Earth's surface. Here's a hearty one. There must be more out there?

nw = New Window("Galešnjak Island", Graph Box());
nw[AxisBox(1)] << Scale("Geodesic") << Min(43.9761119) << Max(43.9806944);
nw[AxisBox(2)] << Scale("Geodesic") << Min(15.379375) << Max(15.387375);
nw[framebox(1)] << Background Map(Images("street map service"));

Heart_Island.jpg

Re: Ways to draw a heart in JMP?

The Boldt Castle is on Heart Island. http://www.boldtcastle.com/visitorinfo/


0 Kudos

Re: Ways to draw a heart in JMP?

This is wonderful!

Read the JMP Blog: jmp.com/blog
0 Kudos
Mandy_JMP
Staff

Re: Ways to draw a heart in JMP?

dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << colorByColumn(:sex);
dt<<New Column( "Heart Column",
              Expression,
              "None",
              Formula(
                     Text Box(
                           "♡",
                           <<FontColor( If( :sex == "F", "RED", "BLUE" ) ),
                           <<setFontSize( 30 )
                     ) << getpicture
              ),
              Use for Marker
       );
dt << Graph Builder(
	Size( 845, 669 ),
	Show Control Panel( 0 ),
	Variables( X( :height ), Y( :age ), Group X( :sex ) ),
	Elements( Points( X, Y, Legend( 16 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"graph title",
			TextEditBox,
			{Set Text( "Height by Age/Gender" )}
		),
		Dispatch( {}, "X title", TextEditBox, {Set Text( "Height" )} ),
		Dispatch( {}, "Y title", TextEditBox, {Set Text( "Age" )} )
	)
);


 Picture1a.png

 

Picture2a.pngHearts ...

Re: Ways to draw a heart in JMP?

Very cute! Thanks, Mandy!

Read the JMP Blog: jmp.com/blog
0 Kudos