Hello,
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.
// 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 <= N Items(y_cols), i++,
gb = dt << 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 << Save Picture("Plot_" || Char(i) || ".emf", EMF);
);
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.
Thank you!