안녕하세요,
저는 3일 전에 이 언어로 작업을 시작했습니다. Graph Builder의 특정 사양에 따라 플롯 생성을 자동화하는 스크립트를 작성 중입니다. 내가 막힌 단계는 쉽게 이해할 수 있도록 보고서 또는 저널의 모든 플롯을 통합하는 것입니다.
// 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);
);플롯을 이미지로 저장할 수 있지만 요구 사항은 폴더와 보고서/저널에 이미지를 가져오는 것입니다. 도움을 주시면 감사하겠습니다.
감사합니다!