<?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>article Making Anonymous Graphs in JMP 8 in JMP Blog</title>
    <link>https://community.jmp.com/t5/JMP-Blog/Making-Anonymous-Graphs-in-JMP-8/ba-p/29709</link>
    <description>&lt;P&gt;How can I use JSL to make a graph with no labels on the axes? There are a lot of reasons you might want to do this; maybe you are building a dashboard control that shows a custom picture, or maybe you have data that needs no labels. &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Anyway, there are two places to look to make the labels go away – the tick mark labels (0, 10, 20, … 100) and the axis label (a variable name like Height).  &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let’s use the JSL Graph Box command to create the graph like this (taken directly from the Help-&amp;gt;Indexes-&amp;gt;JSL Functions-&amp;gt;Graph Box description):&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="364" height="355" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image001.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To eliminate the tick mark labels, add two commands sent to the x and y axes:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;New Window( "Example",&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;      Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="346" height="335" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image002.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;And to eliminate the axis labels, add two more commands sent to the axes: &lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      g = Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g[axis box(1)]&amp;lt;&lt;REMOVE axis="" label=""&gt;&lt;/REMOVE&gt;&lt;/P&gt;&lt;P&gt;g[axis box(2)] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;// you could remove the tick mark labels this way, especially if you are not using the Graph Box command&lt;/P&gt;&lt;P&gt;// g[framebox(1)] &amp;lt;&amp;lt; xaxis(show major ticks(false),show minor ticks(false),show labels(false));&lt;/P&gt;&lt;P&gt;// g[framebox(1)] &amp;lt;&amp;lt; yaxis(show major ticks(false),show minor ticks(false),show labels(false));&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="331" height="331" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image006.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Bonus)&lt;/STRONG&gt; To remove the frame as well, send four commands to the frame:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      g = Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g[axis box(1)] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;g[axis box(2)] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; left(0);&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; right(0);&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; top(0);&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; bottom(0);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="301" height="301" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image008.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here is a complete example with a slider to make it do something:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;g = Graph Box(&lt;/P&gt;&lt;P&gt;      Frame Size( 100, 20 ),&lt;/P&gt;&lt;P&gt;      Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;      Y Function( 50 + 50*Sin( x*SliderValue ), x ); // graph is a sin wave, period depends on SliderValue&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// remove adornments from graph&lt;/P&gt;&lt;P&gt;g[framebox( 1 )] &amp;lt;&amp;lt; xaxis( show major ticks( false ), show minor ticks( false ), show labels( false ) );&lt;/P&gt;&lt;P&gt;g[framebox( 1 )] &amp;lt;&amp;lt; yaxis( show major ticks( false ), show minor ticks( false ), show labels( false ) );&lt;/P&gt;&lt;P&gt;g[axis box( 1 )] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;g[axis box( 2 )] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// hide the inner border&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; Left( 0 ); // no line on left, etc&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; Right( 0 );&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; top( 0 );&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; bottom( 0 );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// shrink and hide the outer border too&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; Left( 0 ); // no space on left, etc&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; Right( 0 );&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; Top( 0 );&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; bottom( 0 );&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; sides( 0 ); // draw no sides (1+2+4+8 would be all four sides)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s = Slider Box( 0, .5, SliderValue, SliderFunction ); // slider range 0 to .5&lt;/P&gt;&lt;P&gt;SliderValue = .25; // initial value, becomes current value when slider is moved&lt;/P&gt;&lt;P&gt;SliderFunction = Function( {}, g[frame box( 1 )] &amp;lt;&amp;lt; reshow ); // reshow the graph when the slider moves&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// put it all together in a window&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      Border Box(&lt;/P&gt;&lt;P&gt;            Left( 10 ), Right( 10 ), top( 10 ), bottom( 10 ),&lt;/P&gt;&lt;P&gt;            Lineup Box( N Col( 1 ), g, s )&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="146" height="107" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image015.gif" alt="" /&gt;&lt;IMG width="148" height="106" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image016.gif" alt="" /&gt;  &lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;		                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Nov 2008 21:01:25 GMT</pubDate>
    <dc:creator>Jeff_Perkinson</dc:creator>
    <dc:date>2008-11-10T21:01:25Z</dc:date>
    <item>
      <title>Making Anonymous Graphs in JMP 8</title>
      <link>https://community.jmp.com/t5/JMP-Blog/Making-Anonymous-Graphs-in-JMP-8/ba-p/29709</link>
      <description>&lt;P&gt;How can I use JSL to make a graph with no labels on the axes? There are a lot of reasons you might want to do this; maybe you are building a dashboard control that shows a custom picture, or maybe you have data that needs no labels. &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Anyway, there are two places to look to make the labels go away – the tick mark labels (0, 10, 20, … 100) and the axis label (a variable name like Height).  &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let’s use the JSL Graph Box command to create the graph like this (taken directly from the Help-&amp;gt;Indexes-&amp;gt;JSL Functions-&amp;gt;Graph Box description):&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="364" height="355" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image001.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To eliminate the tick mark labels, add two commands sent to the x and y axes:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;New Window( "Example",&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;      Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="346" height="335" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image002.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;And to eliminate the axis labels, add two more commands sent to the axes: &lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      g = Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g[axis box(1)]&amp;lt;&lt;REMOVE axis="" label=""&gt;&lt;/REMOVE&gt;&lt;/P&gt;&lt;P&gt;g[axis box(2)] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;// you could remove the tick mark labels this way, especially if you are not using the Graph Box command&lt;/P&gt;&lt;P&gt;// g[framebox(1)] &amp;lt;&amp;lt; xaxis(show major ticks(false),show minor ticks(false),show labels(false));&lt;/P&gt;&lt;P&gt;// g[framebox(1)] &amp;lt;&amp;lt; yaxis(show major ticks(false),show minor ticks(false),show labels(false));&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="331" height="331" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image006.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Bonus)&lt;/STRONG&gt; To remove the frame as well, send four commands to the frame:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      g = Graph Box(&lt;/P&gt;&lt;P&gt;            Frame Size( 300, 300 ),&lt;/P&gt;&lt;P&gt;            xaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            yaxis(show major ticks(false),show minor ticks(false),show labels(false)),&lt;/P&gt;&lt;P&gt;            Marker(&lt;/P&gt;&lt;P&gt;                  Marker State( 3 ),&lt;/P&gt;&lt;P&gt;                  [11 44 77],&lt;/P&gt;&lt;P&gt;                  [75 25 50]&lt;/P&gt;&lt;P&gt;            );&lt;/P&gt;&lt;P&gt;            Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;            Line( [10 30 70], [88 22 44] );&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g[axis box(1)] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;g[axis box(2)] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; left(0);&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; right(0);&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; top(0);&lt;/P&gt;&lt;P&gt;g[frame box(1)] &amp;lt;&amp;lt; bottom(0);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="301" height="301" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image008.gif" alt="" /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here is a complete example with a slider to make it do something:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;g = Graph Box(&lt;/P&gt;&lt;P&gt;      Frame Size( 100, 20 ),&lt;/P&gt;&lt;P&gt;      Pen Color( "Blue" );&lt;/P&gt;&lt;P&gt;      Y Function( 50 + 50*Sin( x*SliderValue ), x ); // graph is a sin wave, period depends on SliderValue&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// remove adornments from graph&lt;/P&gt;&lt;P&gt;g[framebox( 1 )] &amp;lt;&amp;lt; xaxis( show major ticks( false ), show minor ticks( false ), show labels( false ) );&lt;/P&gt;&lt;P&gt;g[framebox( 1 )] &amp;lt;&amp;lt; yaxis( show major ticks( false ), show minor ticks( false ), show labels( false ) );&lt;/P&gt;&lt;P&gt;g[axis box( 1 )] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;g[axis box( 2 )] &amp;lt;&amp;lt; remove axis label;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// hide the inner border&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; Left( 0 ); // no line on left, etc&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; Right( 0 );&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; top( 0 );&lt;/P&gt;&lt;P&gt;g[frame box( 1 )] &amp;lt;&amp;lt; bottom( 0 );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// shrink and hide the outer border too&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; Left( 0 ); // no space on left, etc&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; Right( 0 );&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; Top( 0 );&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; bottom( 0 );&lt;/P&gt;&lt;P&gt;g[Border Box( 1 )] &amp;lt;&amp;lt; sides( 0 ); // draw no sides (1+2+4+8 would be all four sides)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s = Slider Box( 0, .5, SliderValue, SliderFunction ); // slider range 0 to .5&lt;/P&gt;&lt;P&gt;SliderValue = .25; // initial value, becomes current value when slider is moved&lt;/P&gt;&lt;P&gt;SliderFunction = Function( {}, g[frame box( 1 )] &amp;lt;&amp;lt; reshow ); // reshow the graph when the slider moves&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// put it all together in a window&lt;/P&gt;&lt;P&gt;New Window( "Example",&lt;/P&gt;&lt;P&gt;      Border Box(&lt;/P&gt;&lt;P&gt;            Left( 10 ), Right( 10 ), top( 10 ), bottom( 10 ),&lt;/P&gt;&lt;P&gt;            Lineup Box( N Col( 1 ), g, s )&lt;/P&gt;&lt;P&gt;      )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG width="146" height="107" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image015.gif" alt="" /&gt;&lt;IMG width="148" height="106" style="border: 0px;padding-left: 5px;padding-right: 5px" src="http://blogs.sas.com/jmp/uploads/image016.gif" alt="" /&gt;  &lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;		                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2008 21:01:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/JMP-Blog/Making-Anonymous-Graphs-in-JMP-8/ba-p/29709</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2008-11-10T21:01:25Z</dc:date>
    </item>
  </channel>
</rss>

