<?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: how to automate the exporting of grouped graphs to .jpg with scripting in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20436#M18597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,Craig!&lt;/P&gt;&lt;P&gt;Would it be possible to name the pictures by the title of the plots? As in my data, there are more than 20 combinations and it is hard to find the picture interested without this kind of naming convention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 12:36:13 GMT</pubDate>
    <dc:creator>robust1972</dc:creator>
    <dc:date>2016-09-16T12:36:13Z</dc:date>
    <item>
      <title>how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20434#M18595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, all&lt;/P&gt;&lt;P&gt;how to automate the exporting of grouped graphs to .jpg with scripting? any helps and hints will be appreciated.&lt;/P&gt;&lt;P&gt;I used the sample data animals to illustrate what I what to do. I plot the data like below. I intend to export each graph/plot with the title part and legend into a single .jpg or whatever format with scripting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1stly, In my data, I do not know how many plots will be plotted before hand. 2nd thing is that I am not familiar the construct of the plots, and how to handle them one by one in jmp script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oneway(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Y( :miles ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; X( :season ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; All Graphs( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Plot Quantile by Actual( 1 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Line of Fit( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; X Axis Proportional( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Grand Mean( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; By( :species )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12744_pastedImage_0.png" style="width: 518px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3709iAF2E9964A1AC66C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12744_pastedImage_0.png" alt="12744_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:03:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20434#M18595</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-10-19T04:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20435#M18596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;Open( "$sample_data/animals.jmp" );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;p = Oneway(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Y( :miles ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; X( :season ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; All Graphs( 0 ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Plot Quantile by Actual( 1 ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Line of Fit( 0 ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; by( species )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;// p is a { list } of platforms, 1 per by group value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;For( ip = 1, ip &amp;lt;= N Items( p ), ip++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; r = Report( p[ip] ); // get the report&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;STRONG&gt;image = r &amp;lt;&amp;lt; getpicture;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; &lt;STRONG&gt;image &amp;lt;&amp;lt; savepicture( "$temp/picture" || Char( ip ) || ".png", "png" );&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Open( "$temp/picture" || Char( ip ) || ".png" );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12748_picture1.png" style="width: 541px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3710i8231F1846F9019D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12748_picture1.png" alt="12748_picture1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12749_picture2.png" style="width: 541px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3711i3690B30567F4EF58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12749_picture2.png" alt="12749_picture2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:03:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20435#M18596</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-10-19T04:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20436#M18597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,Craig!&lt;/P&gt;&lt;P&gt;Would it be possible to name the pictures by the title of the plots? As in my data, there are more than 20 combinations and it is hard to find the picture interested without this kind of naming convention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 12:36:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20436#M18597</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-09-16T12:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20437#M18598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.&amp;nbsp; Note the regex that sanitizes the file name...you might want to adjust it for your needs.&amp;nbsp; As shown, it converts all odd looking character (spaces and equal sign in this case) to underscore.&amp;nbsp; Windows is probably OK with both of those, but they don't help some programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;Open( "$sample_data/animals.jmp" );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;p = Oneway(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Y( :miles ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; X( :season ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; All Graphs( 0 ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Plot Quantile by Actual( 1 ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Line of Fit( 0 ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; by( species )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;// p is a { list } of platforms, 1 per by group value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;For( ip = 1, ip &amp;lt;= N Items( p ), ip++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; r = Report( p[ip] ); // get the report&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; image = r &amp;lt;&amp;lt; getpicture; // r *is* the outline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; title = (r &amp;lt;&amp;lt; gettitle); // use the outline name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // you *might* want to replace problematic characters:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;title = Regex( title, "[^a-zA-Z0-9]", "_", GLOBALREPLACE );&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; path = "$temp/" || title || ".png";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; image &amp;lt;&amp;lt; savepicture( path, "png" );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open( path );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:29:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20437#M18598</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-09-16T13:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20438#M18599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;P&gt;Thank you again for timely response and solving the problem for me.&lt;/P&gt;&lt;P&gt;Is there a document or a way to check the architecture of the grouped plots, i.e. how to understand the tree structure and hierarchy of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 14:10:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20438#M18599</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-09-16T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20439#M18600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the ShowTreeStructure command from the outer-most outline's open/close triangle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12753_pastedImage_0.png" style="width: 541px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3716i76FF66C5EE4F7985/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12753_pastedImage_0.png" alt="12753_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll get a view of the displaybox tree that makes up the report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12754_pastedImage_1.png" style="width: 521px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3717iC60944C41FE495FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12754_pastedImage_1.png" alt="12754_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the by-group case, there is actually a listbox that holds all the reports together.&amp;nbsp; You don't see it in the ShowTreeStructure output because it is outside of the report that you clicked on.&amp;nbsp; In the example JSL, the JSL list holds all the platforms.&amp;nbsp; A platform is created for each by group, and a platform roughly corresponds to the red triangle.&amp;nbsp; The red triangle and the platform object both give you access to commands the platform understands (like "add a fitted line to the graph", etc)&amp;nbsp; In the example JSL, the loop runs over the platforms in the list and asks each platform for its displaybox tree (the report function).&amp;nbsp; That displaybox tree is what you see in the ShowTreeStructure output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:04:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20439#M18600</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-10-19T04:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20440#M18601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Craig&lt;/P&gt;&lt;P&gt;how about the plots in graph builder? using same sample data plots as below. Please help me how do I call out the boxes in graph builder. I think its construct is different than that of by-group plots. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12772_pastedImage_0.png" style="width: 587px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3740i30C784ED28CA3EB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12772_pastedImage_0.png" alt="12772_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Graph Builder(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Fit to Window( "Off" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Graph Spacing( 3 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Spacing Borders( 1 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Variables( X( :season ), Y( :miles ), Group X( :subject ), Group Y( :species ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Elements( Points( X, Y, Legend( 13 ) ) )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:08:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20440#M18601</guid>
      <dc:creator>robust1972</dc:creator>
      <dc:date>2016-10-19T04:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to automate the exporting of grouped graphs to .jpg with scripting</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20441#M18602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the picture box to take a complete picture of a graph builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12780_pastedImage_0.png" style="width: 927px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3741i6FD9FD12BD35992A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12780_pastedImage_0.png" alt="12780_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a data filter if you need separate pictures of graphs of different subsets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12781_pastedImage_1.png" style="width: 810px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3742i8D096A486B6A280D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12781_pastedImage_1.png" alt="12781_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gb = Graph Builder(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size( 522, 444 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Show Control Panel( 0 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Variables( X( :season ), Y( :miles ) ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Elements( Points( X, Y, Legend( 10 ) ) )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gb&amp;lt;&amp;lt; Local Data Filter(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columns( :species, :subject ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where( :species == "COYOTE" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where( :subject == 2 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gb&amp;lt;&amp;lt;remove local data filter;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gb&amp;lt;&amp;lt;&amp;nbsp; Local Data Filter(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columns( :species, :subject ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where( :species == "FOX" ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where( :subject == 1 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report(gb)[pictureBox(1)] &amp;lt;&amp;lt; savePicture("$temp/delememe.png", "png");&lt;/P&gt;&lt;P&gt;open("$temp/delememe.png");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:08:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-automate-the-exporting-of-grouped-graphs-to-jpg-with/m-p/20441#M18602</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-10-19T04:08:19Z</dc:date>
    </item>
  </channel>
</rss>

