<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ways to draw a heart in JMP? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35811#M21122</link>
    <description>&lt;P&gt;This animated gif shows a web application that generates 1000 random points every time the link is clicked. It then uses a JMP neural network model exported as JavaScript to score each location. The result - inside or outside the parametric "heart" curve - is used to assign color and size.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heart_in_browser.gif" style="width: 478px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5147i1CB39707B8BB2E59/image-size/large?v=v2&amp;amp;px=999" role="button" title="heart_in_browser.gif" alt="heart_in_browser.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2017 21:16:20 GMT</pubDate>
    <dc:creator>nascif_jmp</dc:creator>
    <dc:date>2017-02-14T21:16:20Z</dc:date>
    <item>
      <title>Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35751#M21104</link>
      <description>&lt;P&gt;Here's one way to do it, using parametric equations found at &lt;A href="http://mathworld.wolfram.com/HeartCurve.html" target="_self"&gt;Math World: Heart Curve&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Table( "heart",
	New Column( "t", Set Values( Index( 0, 2 * Pi(), 0.1 ) ) ),
	New Column( "x", Formula( 16 * Power( Sin(t), 3 ) ) ),
	New Column( "y", Formula( 13 * Cos(t) - 5 * Cos(2 * t) - 2 * Cos(3 * t) - Cos(4 * t) ) )
);

Graph Builder( Show Control Panel( 0 ), Variables( X( :x ), Y( :y ), Legend( 1 )), Elements( Formula( X, Y ) ),
	SendToReport( Dispatch( {}, "400", ScaleBox,
		{Legend Model( 1, Properties( 0, {Line Color( "Red" ), Line Width( 4 )} ) )})
	)
 );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heart1.png" style="width: 483px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5110iE181502AEB9F0BF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="heart1.png" alt="heart1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 15:19:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35751#M21104</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2017-02-14T15:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35753#M21105</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-02-14 at 15.57.16.png" style="width: 551px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5111iFE49D9AE82D40D44/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-02-14 at 15.57.16.png" alt="Screen Shot 2017-02-14 at 15.57.16.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; colorByColumn(:sex);
dt &amp;lt;&amp;lt; Bubble Plot(
			X( :height ),
			Y( :weight ),
			Bubble Size( 30 ),
			Set Custom Path(
				"M-0.0887761244941046,0.850401752915005 C-0.132509691601686,0.801393885307063 -0.241710361277604,0.705852240487693 -0.331444173501431,0.638087060729371 C-0.59731840814714,0.437304249670604 -0.633503948597818,0.408246894851737 -0.741454403833403,0.308845722351141 C-0.940467837688774,0.125593337736938 -1.02498556965361,-0.0585152381026677 -1.02469594220815,-0.308151809968423 C-1.02455462493824,-0.430014445563118 -1.0162484277439,-0.476964317486802 -0.982121680497641,-0.548796088081649 C-0.924223053739587,-0.67066463840585 -0.838935502109301,-0.761222544208651 -0.729895396861719,-0.81660831893169 C-0.652666116521943,-0.855835967001217 -0.614576750684788,-0.873264164823037 -0.485609042303584,-0.873977173876701 C-0.350699586517109,-0.874722734579112 -0.322299550859126,-0.858992800688447 -0.242940961547844,-0.815395523171952 C-0.146347968002977,-0.762330214620364 -0.0469265717627411,-0.648920467226447 -0.0263747757632722,-0.568359238473025 L-0.0136814424115853,-0.518601854310303 L0.0176213189786486,-0.587129243639273 C0.194511321452139,-0.974373943618093 0.75925906037766,-0.96858025176609 0.955794219395568,-0.57750443258678 C1.01814070686722,-0.453444171783601 1.02498556965361,-0.188544549947051 0.969700405654138,-0.0393279571831673 C0.897583026328065,0.155319568139341 0.762129243985689,0.303715337410879 0.449006289596482,0.531116685379815 C0.243654945277814,0.680250541777138 0.0112441103286566,0.90589356734039 -0.00493465914355834,0.937585373794258 C-0.0237153698749651,0.974373943618093 -0.00583047238947826,0.943350568269966 -0.0887761244941046,0.850401752915005 z"
			),
			Set Shape( "Custom" ),
			Title Position( 0, 0 ),
			SendToReport(
				Dispatch(
					{},
					"1",
					ScaleBox,
					{Min( 50 ), Max( 72.5 ), Inc( 5 ), Minor Ticks( 1 )}
				),
				Dispatch(
					{},
					"2",
					ScaleBox,
					{Min( 60 ), Max( 180 ), Inc( 20 ), Minor Ticks( 0 )}
				)
			)
		);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:48:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35753#M21105</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2019-02-12T13:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35763#M21106</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Scatterplot 3D(
&amp;nbsp;Y( :t, :x, :y ),
&amp;nbsp;Frame3D(
&amp;nbsp;&amp;nbsp;Set Wall Color( -16735350 ),
&amp;nbsp;&amp;nbsp;Set Grab Handles( 0 ),
&amp;nbsp;&amp;nbsp;Set Rotation( -86.2748434825603, -14.3412758272124, 89.6922810282153 ),
&amp;nbsp;&amp;nbsp;Background Color( 255, 152, 166 )
&amp;nbsp;),
&amp;nbsp;SendToReport( Dispatch( {}, "3", ScaleBox, {Min( -20.1415094339623 )} ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3DHeart.PNG" style="width: 516px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5118i525C750EBE7EFDBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="3DHeart.PNG" alt="3DHeart.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And for those with Ebulliophilia (Love of Bubbles)…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Bubble Plot(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X( :x ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y( :y ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time( :t ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Speed( 164.16 ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bubble Size( 21 ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time Index( 62.38 ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Show Roles( 0 ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Draw( "Outlined" ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trail Bubbles( "All" ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trail Lines( "All" ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title Position( 1.14479166666667, -17.5 ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SendToReport(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dispatch( {}, "1", ScaleBox, {Min( -1.25 ), Max( 1.25 ), Inc( 0.5 ), Minor Ticks( 1 )} ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dispatch( {}, "2", ScaleBox, {Min( -17.5 ), Max( 12.5 ), Inc( 5 ), Minor Ticks( 1 )} ),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dispatch( {}, "Bubble Plot", FrameBox, {Frame Size( 412, 313 )} )
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HeartBubbles.gif" style="width: 432px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5119iFBD2ABF343F8AC6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="HeartBubbles.gif" alt="HeartBubbles.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:49:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35763#M21106</guid>
      <dc:creator>John_Powell_JMP</dc:creator>
      <dc:date>2019-02-12T13:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35765#M21108</link>
      <description>Super cool!</description>
      <pubDate>Tue, 14 Feb 2017 16:37:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35765#M21108</guid>
      <dc:creator>arati_mejdal</dc:creator>
      <dc:date>2017-02-14T16:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35768#M21109</link>
      <description>&lt;P&gt;My little girl wanted animated, concentric hearts after she saw Xan's (thanks for the equations, Xan!)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

 t = Index( 0, 2 * Pi(), 0.03 );
 x = Power( Sin( t ), 3 );
 y = 13 * Cos( t ) - 5 * Cos( 2 * t ) - 2 * Cos( 3 * t ) - Cos( 4 * t );
 factors = index(.1, 1, .1);
 mx = x`*factors;
 my = y`*factors;
 
nw = new window("Hearts",
	gb = graphbox(
		xscale(-1.5,1.5),
		yscale(-20,15),
		suppressaxes
		
	)
);

fb = gb[framebox(1)];

for(i=1, i&amp;lt;=nrow(mx), i++,
	eval(evalexpr(
		fb &amp;lt;&amp;lt; Add Graphics Script(
			marker(colorstate("red"),mx[expr(i),0], my[expr(i),0])
	);
	));
	wait(.001)
);



&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here's a look about 75% of the way through:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5121iD68AA33BA2AB83D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 16:59:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35768#M21109</guid>
      <dc:creator>brady_brady</dc:creator>
      <dc:date>2017-02-14T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35769#M21110</link>
      <description>Lovely!&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2017 17:38:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35769#M21110</guid>
      <dc:creator>arati_mejdal</dc:creator>
      <dc:date>2017-02-14T17:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35771#M21111</link>
      <description>&lt;P&gt;Since that animation worked, here's another one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3DHeartSpin.gif" style="width: 292px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5122i85FF78B7545EE323/image-size/large?v=v2&amp;amp;px=999" role="button" title="3DHeartSpin.gif" alt="3DHeartSpin.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 17:56:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35771#M21111</guid>
      <dc:creator>John_Powell_JMP</dc:creator>
      <dc:date>2017-02-14T17:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35773#M21112</link>
      <description>Fancy!</description>
      <pubDate>Tue, 14 Feb 2017 18:08:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35773#M21112</guid>
      <dc:creator>arati_mejdal</dc:creator>
      <dc:date>2017-02-14T18:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35792#M21113</link>
      <description>&lt;P&gt;For those who are loopy in love...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "Loopy Heart",
       New Column( "theta", Set Values( Index( 0, 360, .01 ) ) ),
       New Column( "r", Formula( 3.5 - 1.5 * Abs( cos(:theta) ) * Sqrt( 1.3 + Abs( sin( :theta) ) ) + &lt;BR /&gt;              cos( 2 * :theta ) - 3 * sin( :theta ) + 0.7 * cos( 12.2 * :theta ) ) ),
       New Column( "x", Formula( :r * cos( :theta ) ) ),
       New Column( "y", Formula( :r * sin( :theta ) ) ),
       New Column( "color", "rowstate", Set Formula( Color State( {206, 0, 0} ) ) )
);
dt:color &amp;lt;&amp;lt; Copy To Row States();

dt &amp;lt;&amp;lt; Graph Builder(
       Show Control Panel( 0 ),
       Variables( X( :x ), Y( :y ) ),
       Elements( Points( X, Y, Legend( 9 ) ) ),
       SendToReport( Dispatch( {}, "Graph Builder", FrameBox, {Marker Size( 0 )} ) )
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Loopy Heart.png" style="width: 585px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5142i6DD27ED8AED1FDB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Loopy Heart.png" alt="Loopy Heart.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 20:02:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35792#M21113</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2017-02-14T20:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35794#M21114</link>
      <description>&lt;P&gt;If you create a column in a data table and change the data type to "expression", you can drag and drop heart images into rows. The &lt;A href="http://www.iconarchive.com/search?q=heart&amp;amp;license=commercialfree&amp;amp;page=1" target="_self"&gt;iconarchive&lt;/A&gt; has many commerical free options to consider.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2017-02-14 at 2.11.34 PM.png" style="width: 667px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5138i3BC41999D6C09564/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-02-14 at 2.11.34 PM.png" alt="Screen Shot 2017-02-14 at 2.11.34 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The column can be selected as a label and the images will show up in hover labels.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="heartlabels.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5139i25D7A8EEB05306BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="heartlabels.png" alt="heartlabels.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 19:16:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35794#M21114</guid>
      <dc:creator>Daniel_Valente</dc:creator>
      <dc:date>2017-02-14T19:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35799#M21117</link>
      <description>&lt;P&gt;DOE &amp;gt; Special Purpose &amp;gt; Space Filling Design will do it, too, with a Disallowed Combinations Script.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="FFFheart.jpg" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5140i8ABE3A3672C4045B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FFFheart.jpg" alt="FFFheart.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-02-14 at 2.49.56 PM.png" style="width: 751px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5141i49B5C17266293706/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-02-14 at 2.49.56 PM.png" alt="Screen Shot 2017-02-14 at 2.49.56 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 19:51:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35799#M21117</guid>
      <dc:creator>Daniel_Valente</dc:creator>
      <dc:date>2017-02-14T19:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35802#M21118</link>
      <description>&lt;P&gt;You can also get the 3D version of this by using the appropriate &lt;A href="http://mathworld.wolfram.com/HeartSurface.html" target="_self"&gt;heart surface&lt;/A&gt; as the disallowed combination expression.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2017-02-14 at 3.15.15 PM.png" style="width: 480px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5143iBD9053E78E8B9758/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-02-14 at 3.15.15 PM.png" alt="Screen Shot 2017-02-14 at 3.15.15 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 20:17:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35802#M21118</guid>
      <dc:creator>Daniel_Valente</dc:creator>
      <dc:date>2017-02-14T20:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35807#M21119</link>
      <description>Love this one!</description>
      <pubDate>Tue, 14 Feb 2017 20:51:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35807#M21119</guid>
      <dc:creator>arati_mejdal</dc:creator>
      <dc:date>2017-02-14T20:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35808#M21120</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Window( "heart",
	Text Box(
		"\!U2661",
		&amp;lt;&amp;lt;setfontname( "Arial Unicode MS" ),
		&amp;lt;&amp;lt;setFontScale( 20 ),
		&amp;lt;&amp;lt;fontcolor( "red" )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="U2661 is a heart" style="width: 255px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5146iE95270BB88690AA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Heart.PNG" alt="U2661 is a heart" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;U2661 is a heart&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SetFontScale is new for JMP 13.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 20:55:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35808#M21120</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2017-02-14T20:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35810#M21121</link>
      <description>&lt;P&gt;Love this one!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 21:01:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35810#M21121</guid>
      <dc:creator>arati_mejdal</dc:creator>
      <dc:date>2017-02-14T21:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35811#M21122</link>
      <description>&lt;P&gt;This animated gif shows a web application that generates 1000 random points every time the link is clicked. It then uses a JMP neural network model exported as JavaScript to score each location. The result - inside or outside the parametric "heart" curve - is used to assign color and size.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="heart_in_browser.gif" style="width: 478px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5147i1CB39707B8BB2E59/image-size/large?v=v2&amp;amp;px=999" role="button" title="heart_in_browser.gif" alt="heart_in_browser.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 21:16:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35811#M21122</guid>
      <dc:creator>nascif_jmp</dc:creator>
      <dc:date>2017-02-14T21:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35816#M21124</link>
      <description>&lt;P&gt;Here's a transparent heart, built on top of the 3D equation &lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/260" target="_self"&gt;Dan &lt;/A&gt;found. Running the script is way more satisfying than the picture.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Surface Plot(
	Show formula( 1 ),
	Mode( "Isosurface" ),
	Resolution( 101 ), 
	Surface Color( "Red" ), 
	Equation( "(x^2+9*y^2/4+z^2-1)^3-x^2*z^3-9*y^2*z^3/80" ),
	SetVariableAxis( x, Axis Data( {Min( -1.3 ), Max( 1.3 ), Inc( 0.5 ), Minor Ticks( 1 )} ) ),
	SetVariableAxis( y, Axis Data( {Min( -2 ), Max( 3 ), Inc( 1 ), Minor Ticks( 1 )} ) ),
	SetVariableAxis( z, Axis Data( {Min( -1.3 ), Max( 1.3 ), Inc( 0.5 ), Minor Ticks( 1 )} ) ),
	SetXVariable( x ),
	SetYVariable( y ),
	Frame3D( Set Graph Size( 700, 700 ), Set Spin( 0.004, 0, -0.5, -0.3 ), Set Rotation( -90, -10, 45 ) ), 
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3D heart" style="width: 669px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5149i4E7D0643EB0A3289/image-size/large?v=v2&amp;amp;px=999" role="button" title="Heart3D.PNG" alt="3D heart" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;3D heart&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The surface plot takes the equation in X,Y,Z and shows the semi-transparent iso-surface.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 22:05:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35816#M21124</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2017-02-14T22:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35817#M21125</link>
      <description>&lt;P&gt;These are all fantastic, really enjoyed them today.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 22:07:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35817#M21125</guid>
      <dc:creator>ryandewitt</dc:creator>
      <dc:date>2017-02-14T22:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35851#M21150</link>
      <description>&lt;P&gt;Here's a way to do it using drawing functions (no data table required):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

func_HeartFilledPolygon = Function( 
	{},
	{_HeartShapeX, _HeartShapeY, t=0::2*Pi()::0.1}, 
		
	_HeartShapeY = 13 * Cos( t ) - 5 * Cos( 2 * t ) - 2 * Cos( 3 * t ) - Cos( 4 * t ) ;
	_HeartShapeX = Power( Sin( t ), 3 );

	Eval( Substitute( Expr( Polygon( Expr( shape_x ), Expr( shape_y ) ) ), Expr( shape_x ), _HeartShapeX, Expr( shape_y ), _HeartShapeY ) );
); 


new window("Belated Valentines Day", 
	_ob=OutlineBox("Heart",
		_hlb=HListBox(
			_grbox=Graph Box(
				X Scale(-1.5, 1.5),
				Y Scale(-20, 15),
				XName(""),
				YName(""),
				Fill Color("red");
				func_HeartFilledPolygon();
				)
			)
		)
	);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Heart.png" style="width: 418px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5153iAA83D435FD3E2CDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Heart.png" alt="Heart.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:42:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35851#M21150</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2019-02-12T13:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to draw a heart in JMP?</title>
      <link>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35867#M21164</link>
      <description>Nice!</description>
      <pubDate>Thu, 16 Feb 2017 13:46:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Ways-to-draw-a-heart-in-JMP/m-p/35867#M21164</guid>
      <dc:creator>arati_mejdal</dc:creator>
      <dc:date>2017-02-16T13:46:57Z</dc:date>
    </item>
  </channel>
</rss>

