cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

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

How can I separate the multiple images generated by jmp and store them in local folders using jsl?

There are many plots when plot using by group,like showed(only 2 just for example),how can I separate the multiple images generated by jmp and store them in local folders using jsl?

thanks a lot.

HCX_0-1784187886035.png

 

HCX
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How can I separate the multiple images generated by jmp and store them in local folders using jsl?

You can use the xpath() function to get a list of all of the Outline boxes in your output, 

oBoxList = (Report( biv ) << xpath( "//OutlineBox" ))

Then you can loop across the list of Outline Boxes and then use the message << Get Picture to convert the Outline Box to an image and then using  the Save Image message to save the image to a file.

See the Scripting Index for descriptions and examples of the xpath, Get Picture and Save Image

Jim

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: How can I separate the multiple images generated by jmp and store them in local folders using jsl?

You can use the xpath() function to get a list of all of the Outline boxes in your output, 

oBoxList = (Report( biv ) << xpath( "//OutlineBox" ))

Then you can loop across the list of Outline Boxes and then use the message << Get Picture to convert the Outline Box to an image and then using  the Save Image message to save the image to a file.

See the Scripting Index for descriptions and examples of the xpath, Get Picture and Save Image

Jim
Huangcx
Level I

Re: How can I separate the multiple images generated by jmp and store them in local folders using jsl?

  Thank you.

HCX
HCX
Level I

Re: How can I separate the multiple images generated by jmp and store them in local folders using jsl?

got it and thank you very much.

HCX

Recommended Articles