cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

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

How to save multiple Fit Y by X Graphs as JPEG pics

Hi All
I am pretty new for the Jmp scripts and I need your help :).
I got my script that allow me to plot multiple graphs, now I have to share them as JPEG. One JPEG for each graph I have, the "Fit Each Value" table is not needed. The structure of the script is like:

Fit Group(
              Bivariate(
                       Y( :Name( "name_01" ) ),

                       ....
                       ),

              Bivariate(

                       Y( :Name( "name_02" ) ),

                       ....
                       ),

                       ...

              Bivariate(

                       Y( :Name( "name_0x" ) ),

                       ....
                       ),

 

         <<{Arrange in Rows( 1 )}
);

 

I look araound trying to understand the next step but no way, it is too much for me.

 

Thanks for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
Miof
Level II

Re: How to save multiple Fit Y by X Graphs as JPEG pics

I found the solution looking at txnelson's old posts.

Fit Group(
              Rep01=Bivariate(
                       Y( :Name( "name_01" ) ),

                       ....
                       ),

              Rep02=Bivariate(

                       Y( :Name( "name_02" ) ),

                       ....
                       ),

                       ...

              Rep0x=Bivariate(

                       Y( :Name( "name_0x" ) ),

                       ....
                       ),

 

         <<{Arrange in Rows( 1 )}
);

 

Report( Rep01 )[ListBox(2)] << save picture(<change this to the path you want to use>\Pic01.jpg");
Report( Rep02 )[ListBox(2)] << save picture(<change this to the path you want to use>\Pic02.jpg");

...
Report( Rep0x )[ListBox(2)] << save picture(<change this to the path you want to use>\Pic0x.jpg);

View solution in original post

1 REPLY 1
Miof
Level II

Re: How to save multiple Fit Y by X Graphs as JPEG pics

I found the solution looking at txnelson's old posts.

Fit Group(
              Rep01=Bivariate(
                       Y( :Name( "name_01" ) ),

                       ....
                       ),

              Rep02=Bivariate(

                       Y( :Name( "name_02" ) ),

                       ....
                       ),

                       ...

              Rep0x=Bivariate(

                       Y( :Name( "name_0x" ) ),

                       ....
                       ),

 

         <<{Arrange in Rows( 1 )}
);

 

Report( Rep01 )[ListBox(2)] << save picture(<change this to the path you want to use>\Pic01.jpg");
Report( Rep02 )[ListBox(2)] << save picture(<change this to the path you want to use>\Pic02.jpg");

...
Report( Rep0x )[ListBox(2)] << save picture(<change this to the path you want to use>\Pic0x.jpg);

Recommended Articles