cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-35751%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EWays%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35751%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHere's%20one%20way%20to%20do%20it%2C%20using%20parametric%20equations%20found%20at%20%3CA%20href%3D%22http%3A%2F%2Fmathworld.wolfram.com%2FHeartCurve.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMath%20World%3A%20Heart%20Curve%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENew%20Table(%20%22heart%22%2C%0A%20New%20Column(%20%22t%22%2C%20Set%20Values(%20Index(%200%2C%202%20*%20Pi()%2C%200.1%20)%20)%20)%2C%0A%20New%20Column(%20%22x%22%2C%20Formula(%2016%20*%20Power(%20Sin(t)%2C%203%20)%20)%20)%2C%0A%20New%20Column(%20%22y%22%2C%20Formula(%2013%20*%20Cos(t)%20-%205%20*%20Cos(2%20*%20t)%20-%202%20*%20Cos(3%20*%20t)%20-%20Cos(4%20*%20t)%20)%20)%0A)%3B%0A%0AGraph%20Builder(%20Show%20Control%20Panel(%200%20)%2C%20Variables(%20X(%20%3Ax%20)%2C%20Y(%20%3Ay%20)%2C%20Legend(%201%20))%2C%20Elements(%20Formula(%20X%2C%20Y%20)%20)%2C%0A%20SendToReport(%20Dispatch(%20%7B%7D%2C%20%22400%22%2C%20ScaleBox%2C%0A%20%20%7BLegend%20Model(%201%2C%20Properties(%200%2C%20%7BLine%20Color(%20%22Red%22%20)%2C%20Line%20Width(%204%20)%7D%20)%20)%7D)%0A%20)%0A%20)%3B%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22heart1.png%22%20style%3D%22width%3A%20483px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22heart1.png%22%20style%3D%22width%3A%20483px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22heart1.png%22%20style%3D%22width%3A%20483px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5110iE181502AEB9F0BF9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22heart1.png%22%20alt%3D%22heart1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-113650%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-113650%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThis%20is%20wonderful!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-113192%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-113192%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThe%20Boldt%20Castle%20is%20on%20Heart%20Island.%26nbsp%3B%3CA%20title%3D%22Castle%20on%20Heart%20Island%22%20href%3D%22http%3A%2F%2Fwww.boldtcastle.com%2Fvisitorinfo%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.boldtcastle.com%2Fvisitorinfo%2F%3C%2FA%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-113182%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-113182%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ETime%20has%20created%20many%20shapes%20on%20Earth's%20surface.%20Here's%20a%20hearty%20one.%20There%20must%20be%20more%20out%20there%3F%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Enw%20%3D%20New%20Window(%22Gale%C5%A1njak%20Island%22%2C%20Graph%20Box())%3B%0Anw%5BAxisBox(1)%5D%20%26lt%3B%26lt%3B%20Scale(%22Geodesic%22)%20%26lt%3B%26lt%3B%20Min(43.9761119)%20%26lt%3B%26lt%3B%20Max(43.9806944)%3B%0Anw%5BAxisBox(2)%5D%20%26lt%3B%26lt%3B%20Scale(%22Geodesic%22)%20%26lt%3B%26lt%3B%20Min(15.379375)%20%26lt%3B%26lt%3B%20Max(15.387375)%3B%0Anw%5Bframebox(1)%5D%20%26lt%3B%26lt%3B%20Background%20Map(Images(%22street%20map%20service%22))%3B%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Heart_Island.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Heart_Island.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Heart_Island.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F15619i658CD8138515E438%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Heart_Island.jpg%22%20alt%3D%22Heart_Island.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110680%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110680%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EVery%20cute!%20Thanks%2C%20Mandy!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110639%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110639%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0Adt%20%26lt%3B%26lt%3B%20colorByColumn(%3Asex)%3B%0Adt%26lt%3B%3CNEW%20column%3D%22%22%3E%3C%2FNEW%3E%3CBR%20%2F%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture1a.png%22%20style%3D%22width%3A%20974px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture1a.png%22%20style%3D%22width%3A%20974px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Picture1a.png%22%20style%3D%22width%3A%20974px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F15548iFF5F1B92F421B03A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture1a.png%22%20alt%3D%22Picture1a.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Hearts%20...%22%20style%3D%22width%3A%20974px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Hearts%20...%22%20style%3D%22width%3A%20974px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Hearts%20...%22%20style%3D%22width%3A%20974px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F15549iA94DC1ABB2DB48E8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture2a.png%22%20alt%3D%22Hearts%20...%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHearts%20...%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHearts%20...%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHearts%20...%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110636%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110636%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThis%20is%20great%20--%20thanks%2C%20John!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110609%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110609%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThis%20way%20of%20drawing%20a%20heart%20isn't%20new%2C%20but%20making%20it%20interactive%20with%20the%20help%20of%20JMP%20Public%20is%20new.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPress%20the%20play%20button%20and%20sliders%20at%20the%20bottom%20and%20use%20the%20menu%20beside%20'Animated%20Heart'%20to%20change%20bubbleplot%20settings.%20See%20it%20on%20%3CA%20title%3D%22Animated%20Heart%22%20href%3D%22https%3A%2F%2Fpublic.jmp.com%2Fpackages%2FAnimated-Heart%2Fjs-p%2F5c62d63bafe3e00e5cebcf9e%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Epublic.JMP.com%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%3CIFRAME%20src%3D%22https%3A%2F%2Fpublic.jmp.com%2Fapi%2Fpackages%2FAnimated-Heart%2Fjs-p%2F5c62d63bafe3e00e5cebcf9e%2FindexPage%22%20width%3D%22500%22%20height%3D%22700%22%20frameborder%3D%220%22%20scrolling%3D%22no%22%20style%3D%22margin%3A%200.8em%200%3B%22%20class%3D%22jmp-live-iframe%22%3E%3C%2FIFRAME%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-110595%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-110595%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%3CSPAN%3EAs%20Valentine's%20Day%20approaches%20I%20was%20reminded%20of%20this%20fun%20thread.%20I%20wonder%20if%20there%20are%20any%20new%20ways%20to%20do%20this%20in%20the%20last%20two%20years%3F%20Please%20share%20them%20here%2C%20and%20your%20JMP%20valentine%20could%20be%20featured%20on%20our%20social%20media%20channels%20--%20thanks!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35867%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35867%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ENice!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35851%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35851%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHere's%20a%20way%20to%20do%20it%20using%20drawing%20functions%20(no%20data%20table%20required)%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0Afunc_HeartFilledPolygon%20%3D%20Function(%20%0A%20%7B%7D%2C%0A%20%7B_HeartShapeX%2C%20_HeartShapeY%2C%20t%3D0%3A%3A2*Pi()%3A%3A0.1%7D%2C%20%0A%20%20%0A%20_HeartShapeY%20%3D%2013%20*%20Cos(%20t%20)%20-%205%20*%20Cos(%202%20*%20t%20)%20-%202%20*%20Cos(%203%20*%20t%20)%20-%20Cos(%204%20*%20t%20)%20%3B%0A%20_HeartShapeX%20%3D%20Power(%20Sin(%20t%20)%2C%203%20)%3B%0A%0A%20Eval(%20Substitute(%20Expr(%20Polygon(%20Expr(%20shape_x%20)%2C%20Expr(%20shape_y%20)%20)%20)%2C%20Expr(%20shape_x%20)%2C%20_HeartShapeX%2C%20Expr(%20shape_y%20)%2C%20_HeartShapeY%20)%20)%3B%0A)%3B%20%0A%0A%0Anew%20window(%22Belated%20Valentines%20Day%22%2C%20%0A%20_ob%3DOutlineBox(%22Heart%22%2C%0A%20%20_hlb%3DHListBox(%0A%20%20%20_grbox%3DGraph%20Box(%0A%20%20%20%20X%20Scale(-1.5%2C%201.5)%2C%0A%20%20%20%20Y%20Scale(-20%2C%2015)%2C%0A%20%20%20%20XName(%22%22)%2C%0A%20%20%20%20YName(%22%22)%2C%0A%20%20%20%20Fill%20Color(%22red%22)%3B%0A%20%20%20%20func_HeartFilledPolygon()%3B%0A%20%20%20%20)%0A%20%20%20)%0A%20%20)%0A%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Heart.png%22%20style%3D%22width%3A%20418px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Heart.png%22%20style%3D%22width%3A%20418px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Heart.png%22%20style%3D%22width%3A%20418px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5153iAA83D435FD3E2CDB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Heart.png%22%20alt%3D%22Heart.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35817%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35817%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThese%20are%20all%20fantastic%2C%20really%20enjoyed%20them%20today.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35816%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35816%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHere's%20a%20transparent%20heart%2C%20built%20on%20top%20of%20the%203D%20equation%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260%22%20target%3D%22_self%22%3EDan%20%3C%2FA%3Efound.%20Running%20the%20script%20is%20way%20more%20satisfying%20than%20the%20picture.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ESurface%20Plot(%0A%20Show%20formula(%201%20)%2C%0A%20Mode(%20%22Isosurface%22%20)%2C%0A%20Resolution(%20101%20)%2C%20%0A%20Surface%20Color(%20%22Red%22%20)%2C%20%0A%20Equation(%20%22(x%5E2%2B9*y%5E2%2F4%2Bz%5E2-1)%5E3-x%5E2*z%5E3-9*y%5E2*z%5E3%2F80%22%20)%2C%0A%20SetVariableAxis(%20x%2C%20Axis%20Data(%20%7BMin(%20-1.3%20)%2C%20Max(%201.3%20)%2C%20Inc(%200.5%20)%2C%20Minor%20Ticks(%201%20)%7D%20)%20)%2C%0A%20SetVariableAxis(%20y%2C%20Axis%20Data(%20%7BMin(%20-2%20)%2C%20Max(%203%20)%2C%20Inc(%201%20)%2C%20Minor%20Ticks(%201%20)%7D%20)%20)%2C%0A%20SetVariableAxis(%20z%2C%20Axis%20Data(%20%7BMin(%20-1.3%20)%2C%20Max(%201.3%20)%2C%20Inc(%200.5%20)%2C%20Minor%20Ticks(%201%20)%7D%20)%20)%2C%0A%20SetXVariable(%20x%20)%2C%0A%20SetYVariable(%20y%20)%2C%0A%20Frame3D(%20Set%20Graph%20Size(%20700%2C%20700%20)%2C%20Set%20Spin(%200.004%2C%200%2C%20-0.5%2C%20-0.3%20)%2C%20Set%20Rotation(%20-90%2C%20-10%2C%2045%20)%20)%2C%20%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223D%20heart%22%20style%3D%22width%3A%20669px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223D%20heart%22%20style%3D%22width%3A%20669px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223D%20heart%22%20style%3D%22width%3A%20669px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5149i4E7D0643EB0A3289%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Heart3D.PNG%22%20alt%3D%223D%20heart%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3E3D%20heart%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3E3D%20heart%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3E3D%20heart%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20surface%20plot%20takes%20the%20equation%20in%20X%2CY%2CZ%20and%20shows%20the%20semi-transparent%20iso-surface.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35811%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35811%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EThis%20animated%20gif%20shows%20a%20web%20application%20that%20generates%201000%20random%20points%20every%20time%20the%20link%20is%20clicked.%20It%20then%20uses%20a%20JMP%20neural%20network%20model%20exported%20as%20JavaScript%20to%20score%20each%20location.%20The%20result%20-%20inside%20or%20outside%20the%20parametric%20%22heart%22%20curve%20-%20is%20used%20to%20assign%20color%20and%20size.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22heart_in_browser.gif%22%20style%3D%22width%3A%20478px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22heart_in_browser.gif%22%20style%3D%22width%3A%20478px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22heart_in_browser.gif%22%20style%3D%22width%3A%20478px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5147i1CB39707B8BB2E59%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22heart_in_browser.gif%22%20alt%3D%22heart_in_browser.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35810%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35810%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELove%20this%20one!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35808%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35808%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENew%20Window(%20%22heart%22%2C%0A%20Text%20Box(%0A%20%20%22%5C!U2661%22%2C%0A%20%20%26lt%3B%3CSETFONTNAME%3E%3C%2FSETFONTNAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22U2661%20is%20a%20heart%22%20style%3D%22width%3A%20255px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22U2661%20is%20a%20heart%22%20style%3D%22width%3A%20255px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22U2661%20is%20a%20heart%22%20style%3D%22width%3A%20255px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5146iE95270BB88690AA6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Heart.PNG%22%20alt%3D%22U2661%20is%20a%20heart%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EU2661%20is%20a%20heart%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EU2661%20is%20a%20heart%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EU2661%20is%20a%20heart%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESetFontScale%20is%20new%20for%20JMP%2013.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35807%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35807%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ELove%20this%20one!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35802%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35802%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EYou%20can%20also%20get%20the%203D%20version%20of%20this%20by%20using%20the%20appropriate%20%3CA%20href%3D%22http%3A%2F%2Fmathworld.wolfram.com%2FHeartSurface.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eheart%20surface%3C%2FA%3E%20as%20the%20disallowed%20combination%20expression.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%203.15.15%20PM.png%22%20style%3D%22width%3A%20480px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%203.15.15%20PM.png%22%20style%3D%22width%3A%20480px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%203.15.15%20PM.png%22%20style%3D%22width%3A%20480px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5143iBD9053E78E8B9758%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screen%20Shot%202017-02-14%20at%203.15.15%20PM.png%22%20alt%3D%22Screen%20Shot%202017-02-14%20at%203.15.15%20PM.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35799%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35799%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EDOE%20%26gt%3B%20Special%20Purpose%20%26gt%3B%20Space%20Filling%20Design%20will%20do%20it%2C%20too%2C%20with%20a%20Disallowed%20Combinations%20Script.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22FFFheart.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FFFheart.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FFFheart.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5140i8ABE3A3672C4045B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22FFFheart.jpg%22%20alt%3D%22FFFheart.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%202.49.56%20PM.png%22%20style%3D%22width%3A%20751px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%202.49.56%20PM.png%22%20style%3D%22width%3A%20751px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%202.49.56%20PM.png%22%20style%3D%22width%3A%20751px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5141i49B5C17266293706%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screen%20Shot%202017-02-14%20at%202.49.56%20PM.png%22%20alt%3D%22Screen%20Shot%202017-02-14%20at%202.49.56%20PM.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35794%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35794%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIf%20you%20create%20a%20column%20in%20a%20data%20table%20and%20change%20the%20data%20type%20to%20%22expression%22%2C%20you%20can%20drag%20and%20drop%20heart%20images%20into%20rows.%20The%20%3CA%20href%3D%22http%3A%2F%2Fwww.iconarchive.com%2Fsearch%3Fq%3Dheart%26amp%3Blicense%3Dcommercialfree%26amp%3Bpage%3D1%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eiconarchive%3C%2FA%3E%20has%20many%20commerical%20free%20options%20to%20consider.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%202.11.34%20PM.png%22%20style%3D%22width%3A%20667px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%202.11.34%20PM.png%22%20style%3D%22width%3A%20667px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%202.11.34%20PM.png%22%20style%3D%22width%3A%20667px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5138i3BC41999D6C09564%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screen%20Shot%202017-02-14%20at%202.11.34%20PM.png%22%20alt%3D%22Screen%20Shot%202017-02-14%20at%202.11.34%20PM.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3BThe%20column%20can%20be%20selected%20as%20a%20label%20and%20the%20images%20will%20show%20up%20in%20hover%20labels.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22heartlabels.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22heartlabels.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22heartlabels.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5139i25D7A8EEB05306BC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22heartlabels.png%22%20alt%3D%22heartlabels.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35792%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35792%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EFor%20those%20who%20are%20loopy%20in%20love...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20New%20Table(%20%22Loopy%20Heart%22%2C%0A%20%20%20%20%20%20%20New%20Column(%20%22theta%22%2C%20Set%20Values(%20Index(%200%2C%20360%2C%20.01%20)%20)%20)%2C%0A%20%20%20%20%20%20%20New%20Column(%20%22r%22%2C%20Formula(%203.5%20-%201.5%20*%20Abs(%20cos(%3Atheta)%20)%20*%20Sqrt(%201.3%20%2B%20Abs(%20sin(%20%3Atheta)%20)%20)%20%2B%20%3CBR%20%2F%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20cos(%202%20*%20%3Atheta%20)%20-%203%20*%20sin(%20%3Atheta%20)%20%2B%200.7%20*%20cos(%2012.2%20*%20%3Atheta%20)%20)%20)%2C%0A%20%20%20%20%20%20%20New%20Column(%20%22x%22%2C%20Formula(%20%3Ar%20*%20cos(%20%3Atheta%20)%20)%20)%2C%0A%20%20%20%20%20%20%20New%20Column(%20%22y%22%2C%20Formula(%20%3Ar%20*%20sin(%20%3Atheta%20)%20)%20)%2C%0A%20%20%20%20%20%20%20New%20Column(%20%22color%22%2C%20%22rowstate%22%2C%20Set%20Formula(%20Color%20State(%20%7B206%2C%200%2C%200%7D%20)%20)%20)%0A)%3B%0Adt%3Acolor%20%26lt%3B%26lt%3B%20Copy%20To%20Row%20States()%3B%0A%0Adt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%20%20%20%20%20%20%20Show%20Control%20Panel(%200%20)%2C%0A%20%20%20%20%20%20%20Variables(%20X(%20%3Ax%20)%2C%20Y(%20%3Ay%20)%20)%2C%0A%20%20%20%20%20%20%20Elements(%20Points(%20X%2C%20Y%2C%20Legend(%209%20)%20)%20)%2C%0A%20%20%20%20%20%20%20SendToReport(%20Dispatch(%20%7B%7D%2C%20%22Graph%20Builder%22%2C%20FrameBox%2C%20%7BMarker%20Size(%200%20)%7D%20)%20)%0A)%3B%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Loopy%20Heart.png%22%20style%3D%22width%3A%20585px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Loopy%20Heart.png%22%20style%3D%22width%3A%20585px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Loopy%20Heart.png%22%20style%3D%22width%3A%20585px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5142i6DD27ED8AED1FDB8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Loopy%20Heart.png%22%20alt%3D%22Loopy%20Heart.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35773%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35773%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EFancy!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35771%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35771%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESince%20that%20animation%20worked%2C%20here's%20another%20one%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223DHeartSpin.gif%22%20style%3D%22width%3A%20292px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223DHeartSpin.gif%22%20style%3D%22width%3A%20292px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223DHeartSpin.gif%22%20style%3D%22width%3A%20292px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5122i85FF78B7545EE323%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%223DHeartSpin.gif%22%20alt%3D%223DHeartSpin.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35769%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35769%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ELovely!%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35768%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35768%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EMy%20little%20girl%20wanted%20animated%2C%20concentric%20hearts%20after%20she%20saw%20Xan's%20(thanks%20for%20the%20equations%2C%20Xan!)%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Enames%20default%20to%20here(1)%3B%0A%0A%20t%20%3D%20Index(%200%2C%202%20*%20Pi()%2C%200.03%20)%3B%0A%20x%20%3D%20Power(%20Sin(%20t%20)%2C%203%20)%3B%0A%20y%20%3D%2013%20*%20Cos(%20t%20)%20-%205%20*%20Cos(%202%20*%20t%20)%20-%202%20*%20Cos(%203%20*%20t%20)%20-%20Cos(%204%20*%20t%20)%3B%0A%20factors%20%3D%20index(.1%2C%201%2C%20.1)%3B%0A%20mx%20%3D%20x%60*factors%3B%0A%20my%20%3D%20y%60*factors%3B%0A%20%0Anw%20%3D%20new%20window(%22Hearts%22%2C%0A%20gb%20%3D%20graphbox(%0A%20%20xscale(-1.5%2C1.5)%2C%0A%20%20yscale(-20%2C15)%2C%0A%20%20suppressaxes%0A%20%20%0A%20)%0A)%3B%0A%0Afb%20%3D%20gb%5Bframebox(1)%5D%3B%0A%0Afor(i%3D1%2C%20i%26lt%3B%3Dnrow(mx)%2C%20i%2B%2B%2C%0A%20eval(evalexpr(%0A%20%20fb%20%26lt%3B%26lt%3B%20Add%20Graphics%20Script(%0A%20%20%20marker(colorstate(%22red%22)%2Cmx%5Bexpr(i)%2C0%5D%2C%20my%5Bexpr(i)%2C0%5D)%0A%20)%3B%0A%20))%3B%0A%20wait(.001)%0A)%3B%0A%0A%0A%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EHere's%20a%20look%20about%2075%25%20of%20the%20way%20through%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Untitled.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Untitled.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Untitled.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5121iD68AA33BA2AB83D8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Untitled.png%22%20alt%3D%22Untitled.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35765%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35765%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ESuper%20cool!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35763%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35763%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EScatterplot%203D(%0A%26nbsp%3BY(%20%3At%2C%20%3Ax%2C%20%3Ay%20)%2C%0A%26nbsp%3BFrame3D(%0A%26nbsp%3B%26nbsp%3BSet%20Wall%20Color(%20-16735350%20)%2C%0A%26nbsp%3B%26nbsp%3BSet%20Grab%20Handles(%200%20)%2C%0A%26nbsp%3B%26nbsp%3BSet%20Rotation(%20-86.2748434825603%2C%20-14.3412758272124%2C%2089.6922810282153%20)%2C%0A%26nbsp%3B%26nbsp%3BBackground%20Color(%20255%2C%20152%2C%20166%20)%0A%26nbsp%3B)%2C%0A%26nbsp%3BSendToReport(%20Dispatch(%20%7B%7D%2C%20%223%22%2C%20ScaleBox%2C%20%7BMin(%20-20.1415094339623%20)%7D%20)%20)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223DHeart.PNG%22%20style%3D%22width%3A%20516px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223DHeart.PNG%22%20style%3D%22width%3A%20516px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223DHeart.PNG%22%20style%3D%22width%3A%20516px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5118i525C750EBE7EFDBE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%223DHeart.PNG%22%20alt%3D%223DHeart.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20for%20those%20with%20Ebulliophilia%20(Love%20of%20Bubbles)%E2%80%A6%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EBubble%20Plot(%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20X(%20%3Ax%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Y(%20%3Ay%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Time(%20%3At%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Speed(%20164.16%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Bubble%20Size(%2021%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Time%20Index(%2062.38%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Show%20Roles(%200%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Draw(%20%22Outlined%22%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Trail%20Bubbles(%20%22All%22%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Trail%20Lines(%20%22All%22%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Title%20Position(%201.14479166666667%2C%20-17.5%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20SendToReport(%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dispatch(%20%7B%7D%2C%20%221%22%2C%20ScaleBox%2C%20%7BMin(%20-1.25%20)%2C%20Max(%201.25%20)%2C%20Inc(%200.5%20)%2C%20Minor%20Ticks(%201%20)%7D%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dispatch(%20%7B%7D%2C%20%222%22%2C%20ScaleBox%2C%20%7BMin(%20-17.5%20)%2C%20Max(%2012.5%20)%2C%20Inc(%205%20)%2C%20Minor%20Ticks(%201%20)%7D%20)%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Dispatch(%20%7B%7D%2C%20%22Bubble%20Plot%22%2C%20FrameBox%2C%20%7BFrame%20Size(%20412%2C%20313%20)%7D%20)%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HeartBubbles.gif%22%20style%3D%22width%3A%20432px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HeartBubbles.gif%22%20style%3D%22width%3A%20432px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HeartBubbles.gif%22%20style%3D%22width%3A%20432px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5119iFBD2ABF343F8AC6D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22HeartBubbles.gif%22%20alt%3D%22HeartBubbles.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35753%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Ways%20to%20draw%20a%20heart%20in%20JMP%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35753%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%2015.57.16.png%22%20style%3D%22width%3A%20551px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%2015.57.16.png%22%20style%3D%22width%3A%20551px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screen%20Shot%202017-02-14%20at%2015.57.16.png%22%20style%3D%22width%3A%20551px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F5111iFE49D9AE82D40D44%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screen%20Shot%202017-02-14%20at%2015.57.16.png%22%20alt%3D%22Screen%20Shot%202017-02-14%20at%2015.57.16.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0Adt%20%26lt%3B%26lt%3B%20colorByColumn(%3Asex)%3B%0Adt%20%26lt%3B%26lt%3B%20Bubble%20Plot(%0A%20%20%20X(%20%3Aheight%20)%2C%0A%20%20%20Y(%20%3Aweight%20)%2C%0A%20%20%20Bubble%20Size(%2030%20)%2C%0A%20%20%20Set%20Custom%20Path(%0A%20%20%20%20%22M-0.0887761244941046%2C0.850401752915005%20C-0.132509691601686%2C0.801393885307063%20-0.241710361277604%2C0.705852240487693%20-0.331444173501431%2C0.638087060729371%20C-0.59731840814714%2C0.437304249670604%20-0.633503948597818%2C0.408246894851737%20-0.741454403833403%2C0.308845722351141%20C-0.940467837688774%2C0.125593337736938%20-1.02498556965361%2C-0.0585152381026677%20-1.02469594220815%2C-0.308151809968423%20C-1.02455462493824%2C-0.430014445563118%20-1.0162484277439%2C-0.476964317486802%20-0.982121680497641%2C-0.548796088081649%20C-0.924223053739587%2C-0.67066463840585%20-0.838935502109301%2C-0.761222544208651%20-0.729895396861719%2C-0.81660831893169%20C-0.652666116521943%2C-0.855835967001217%20-0.614576750684788%2C-0.873264164823037%20-0.485609042303584%2C-0.873977173876701%20C-0.350699586517109%2C-0.874722734579112%20-0.322299550859126%2C-0.858992800688447%20-0.242940961547844%2C-0.815395523171952%20C-0.146347968002977%2C-0.762330214620364%20-0.0469265717627411%2C-0.648920467226447%20-0.0263747757632722%2C-0.568359238473025%20L-0.0136814424115853%2C-0.518601854310303%20L0.0176213189786486%2C-0.587129243639273%20C0.194511321452139%2C-0.974373943618093%200.75925906037766%2C-0.96858025176609%200.955794219395568%2C-0.57750443258678%20C1.01814070686722%2C-0.453444171783601%201.02498556965361%2C-0.188544549947051%200.969700405654138%2C-0.0393279571831673%20C0.897583026328065%2C0.155319568139341%200.762129243985689%2C0.303715337410879%200.449006289596482%2C0.531116685379815%20C0.243654945277814%2C0.680250541777138%200.0112441103286566%2C0.90589356734039%20-0.00493465914355834%2C0.937585373794258%20C-0.0237153698749651%2C0.974373943618093%20-0.00583047238947826%2C0.943350568269966%20-0.0887761244941046%2C0.850401752915005%20z%22%0A%20%20%20)%2C%0A%20%20%20Set%20Shape(%20%22Custom%22%20)%2C%0A%20%20%20Title%20Position(%200%2C%200%20)%2C%0A%20%20%20SendToReport(%0A%20%20%20%20Dispatch(%0A%20%20%20%20%20%7B%7D%2C%0A%20%20%20%20%20%221%22%2C%0A%20%20%20%20%20ScaleBox%2C%0A%20%20%20%20%20%7BMin(%2050%20)%2C%20Max(%2072.5%20)%2C%20Inc(%205%20)%2C%20Minor%20Ticks(%201%20)%7D%0A%20%20%20%20)%2C%0A%20%20%20%20Dispatch(%0A%20%20%20%20%20%7B%7D%2C%0A%20%20%20%20%20%222%22%2C%0A%20%20%20%20%20ScaleBox%2C%0A%20%20%20%20%20%7BMin(%2060%20)%2C%20Max(%20180%20)%2C%20Inc(%2020%20)%2C%20Minor%20Ticks(%200%20)%7D%0A%20%20%20%20)%0A%20%20%20)%0A%20%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
XanGregg
Staff

Ways to draw a heart in JMP?

Here's one way to do it, using parametric equations found at Math World: Heart Curve.

 

 

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 )} ) )})
	)
 );

heart1.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
MathStatChem
Level VII

Re: Ways to draw a heart in JMP?

Here's a way to do it using drawing functions (no data table required):

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();
				)
			)
		)
	);

Heart.png

 

View solution in original post

27 REPLIES 27
ian_jmp
Level X

Re: Ways to draw a heart in JMP?

Screen Shot 2017-02-14 at 15.57.16.png

dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << colorByColumn(:sex);
dt << 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 )}
				)
			)
		);

Re: Ways to draw a heart in JMP?

Scatterplot 3D(
 Y( :t, :x, :y ),
 Frame3D(
  Set Wall Color( -16735350 ),
  Set Grab Handles( 0 ),
  Set Rotation( -86.2748434825603, -14.3412758272124, 89.6922810282153 ),
  Background Color( 255, 152, 166 )
 ),
 SendToReport( Dispatch( {}, "3", ScaleBox, {Min( -20.1415094339623 )} ) )
);

3DHeart.PNG

And for those with Ebulliophilia (Love of Bubbles)…

 

Bubble Plot(
       X( :x ),
       Y( :y ),
       Time( :t ),
       Speed( 164.16 ),
       Bubble Size( 21 ),
       Time Index( 62.38 ),
       Show Roles( 0 ),
       Draw( "Outlined" ),
       Trail Bubbles( "All" ),
       Trail Lines( "All" ),
       Title Position( 1.14479166666667, -17.5 ),
       SendToReport(
              Dispatch( {}, "1", ScaleBox, {Min( -1.25 ), Max( 1.25 ), Inc( 0.5 ), Minor Ticks( 1 )} ),
              Dispatch( {}, "2", ScaleBox, {Min( -17.5 ), Max( 12.5 ), Inc( 5 ), Minor Ticks( 1 )} ),
              Dispatch( {}, "Bubble Plot", FrameBox, {Frame Size( 412, 313 )} )
       )
);

 

HeartBubbles.gif

 

arati_mejdal
Level XI

Re: Ways to draw a heart in JMP?

Super cool!
Read the JMP Blog: jmp.com/blog

Re: Ways to draw a heart in JMP?

My little girl wanted animated, concentric hearts after she saw Xan's (thanks for the equations, Xan!)

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<=nrow(mx), i++,
	eval(evalexpr(
		fb << Add Graphics Script(
			marker(colorstate("red"),mx[expr(i),0], my[expr(i),0])
	);
	));
	wait(.001)
);



Here's a look about 75% of the way through:

Untitled.png

arati_mejdal
Level XI

Re: Ways to draw a heart in JMP?

Lovely!
Read the JMP Blog: jmp.com/blog

Re: Ways to draw a heart in JMP?

Since that animation worked, here's another one:

3DHeartSpin.gif

arati_mejdal
Level XI

Re: Ways to draw a heart in JMP?

Fancy!
Read the JMP Blog: jmp.com/blog

Re: Ways to draw a heart in JMP?

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 iconarchive has many commerical free options to consider.

Screen Shot 2017-02-14 at 2.11.34 PM.png

 The column can be selected as a label and the images will show up in hover labels. 

heartlabels.png

 

 

Connect with me on LinkedIn: https://bit.ly/3MWgiXt

Re: Ways to draw a heart in JMP?

For those who are loopy in love...

 

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) ) ) + 
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 << Copy To Row States(); dt << 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 )} ) ) );

Loopy Heart.png

Recommended Articles