<?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 How to append graph builder plots in a report or a journal? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-append-graph-builder-plots-in-a-report-or-a-journal/m-p/654175#M84348</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just started working with this language 3 days back. I am working on a script that automates the creation of plots based on certain specifications in the Graph Builder. The step I am stuck on, is to integrate all plots in a report or journal, in order for easy understanding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// x_col and y_cols contain the selected columns for which graphs have to be plotted. x_col is singular
x_col = dlg["xList"];
y_cols = dlg["yList"];


// Iterate over the Y columns and create a Graph Builder plot for each
For(i = 1, i &amp;lt;= N Items(y_cols), i++,

            gb = dt &amp;lt;&amp;lt; Graph Builder(
                Size(534, 456),
                Show Control Panel(0),
                Variables(X(x_col[1]), Y(y_cols[i])),
                Elements(Points(X, Y, Legend(7))),
                invisible
            );
            gb &amp;lt;&amp;lt; Save Picture("Plot_" || Char(i) || ".emf", EMF);
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am able to save the plots as an image, but the requirement is to get images in a folder and the report/journal. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2023 18:56:45 GMT</pubDate>
    <dc:creator>Kenobi</dc:creator>
    <dc:date>2023-06-29T18:56:45Z</dc:date>
    <item>
      <title>How to append graph builder plots in a report or a journal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-append-graph-builder-plots-in-a-report-or-a-journal/m-p/654175#M84348</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just started working with this language 3 days back. I am working on a script that automates the creation of plots based on certain specifications in the Graph Builder. The step I am stuck on, is to integrate all plots in a report or journal, in order for easy understanding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// x_col and y_cols contain the selected columns for which graphs have to be plotted. x_col is singular
x_col = dlg["xList"];
y_cols = dlg["yList"];


// Iterate over the Y columns and create a Graph Builder plot for each
For(i = 1, i &amp;lt;= N Items(y_cols), i++,

            gb = dt &amp;lt;&amp;lt; Graph Builder(
                Size(534, 456),
                Show Control Panel(0),
                Variables(X(x_col[1]), Y(y_cols[i])),
                Elements(Points(X, Y, Legend(7))),
                invisible
            );
            gb &amp;lt;&amp;lt; Save Picture("Plot_" || Char(i) || ".emf", EMF);
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am able to save the plots as an image, but the requirement is to get images in a folder and the report/journal. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 18:56:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-append-graph-builder-plots-in-a-report-or-a-journal/m-p/654175#M84348</guid>
      <dc:creator>Kenobi</dc:creator>
      <dc:date>2023-06-29T18:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to append graph builder plots in a report or a journal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-append-graph-builder-plots-in-a-report-or-a-journal/m-p/654188#M84349</link>
      <description>&lt;P&gt;Hi, I think I got it solved now. Sharing the script with you all, in case any one else encounters the same issue&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nw = New Window( "graphs", myVLB = V List Box() );
	
// Iterate over the Y columns and create a Graph Builder plot for each
For(i = 1, i &amp;lt;= N Items(y_cols), i++,

			gb = dt &amp;lt;&amp;lt; Graph Builder(
				Size(534, 456),
				Show Control Panel(0),
				Variables(X(x_col[1]), Y(y_cols[i])),
				Elements(Points(X, Y, Legend(7))),
				invisible
			);
			myVLB &amp;lt;&amp;lt; append( Report( gb ) );
			gb &amp;lt;&amp;lt; delete;
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Jun 2023 19:12:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-append-graph-builder-plots-in-a-report-or-a-journal/m-p/654188#M84349</guid>
      <dc:creator>Kenobi</dc:creator>
      <dc:date>2023-06-29T19:12:42Z</dc:date>
    </item>
  </channel>
</rss>

