cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Due to the recently reported Microsoft outage, users may be temporarily unable to access My JMP or experience a delay receiving their verification codes. If you have previously installed JMP on your computer, this outage should not impact your ability to access the software. My JMP services will be restored as soon as Microsoft resolves this issue.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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