cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
sophiaw
Level III

Save Multiple Graphs At Once

Hi!

 

I feel like this should be simple, but I must be missing something. I have a bunch of columns and I want to graph all of them in a loop. I set up the loop so it creates all the graphs, I just can't seem to be able to save them... Here is my code so far:

 

wind = {};

For(i = 1, i <= nitems(List) - 4, i++,

       wind = New Window(List,

              Distribution(

                     Stack(1),

                    Continuous Distribution(

                            Column(List),

                            Horizontal Layout(1),

                            Vertical(0),

                            Count Axis(1),

                            Normal Quantile Plot(1)

                     ),

                     SendToReport(

                            Dispatch(

                                   {"Distributions"},

                                   "1",

                                   ScaleBox,

                                   {Min(-0.000151), Max(0.000151), Inc(0.000002), Minor Ticks(1),

                                   Add Ref Line(0.00015, Solid, "Dark Red", "", 1),

                                   Add Ref Line(-0.00015, Solid, "Dark Red", "", 1)}

                            ),

                            Dispatch(

                                   {"Distributions"},

                                   "Distrib Quantile Plot",

                                   FrameBox,

                                   {Frame Size(622, 207)}

                            ),

                            Dispatch(

                                   {"Distributions"},

                                   "Distrib Outlier Box",

                                   FrameBox,

                                   {Frame Size(622, 46)}

                            ),

                            Dispatch(

                                   {"Distributions"},

                                   "Distrib Histogram",

                                   FrameBox,

                                   {Frame Size(622, 504)}

                            )

                     )

              );

       );

       wind << Save Picture("C:\Users\sophia\Documents\test\", PNG);

);

 

 

The bolded line is the one I'm having a problem with. I was hoping that the new windows would save at the path I assigned, but with the name I have already given it and just add the .PNG.

 

Thanks for any help!

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Save Multiple Graphs At Once

I think the filename must be give explicitly. Try this syntax:

wind[i] << Save Picture("C:\Users\sophia\Documents\test\" || test[i] || ".png", "png");

View solution in original post

3 REPLIES 3
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Save Multiple Graphs At Once

I think the filename must be give explicitly. Try this syntax:

wind[i] << Save Picture("C:\Users\sophia\Documents\test\" || test[i] || ".png", "png");

sophiaw
Level III

Re: Save Multiple Graphs At Once

I was hoping it was something easy to add. That's perfect! Thank you!

vs90
Level III

Re: Save Multiple Graphs At Once

Hi,

Instead of appending into list(wind), what you can do is create a V List Box() within a window and append into that box by looping over your Distribution.

I was appending multiple control charts into one window by calling Control Chart function every time.

See this if it helps.....

Empty Control Chart Windows..........Weird Situation.

Recommended Articles