I am moving some statistical reports (graphics) from one software to JMP.
At the end of the analysis, I need to put all the graphs (may be .png format) into an .html file.
Is it possible to do this in JMP? I have the scripts for each graph, however I do not find the way to write an .html file yet.
Thanks in advanced.
Here is the example taken directly from
Help==>Scripting Index==>Save Interactive HTLM
Names Default To Here( 1 ); //This message applies to all display box objects Open( "$SAMPLE_DATA/Big Class.jmp" ); biv = bivariate( y( :weight ), x( :height ) ); rbiv = biv << report; rbiv << Save Interactive HTML( "path/to/example.html" );
The answer is yes. If you want to create your own custom HTLM file, you would use
Save Text File( path, text|blob, <mode("replace"|"append")> )
Take a look for an example in:
Help==>Scripting Index==>Save Test File
You can save several open reports to Interactive HTML with Data all at once using "Create Web Report" under the view "menu" in JMP 13. It will generate an index page with links to each report. Our Intereactive HTML examples at http://www.jmp.com/jmphtml5/ were saved this way.
If you have JMP 11 or 12, you can use this add-in:
If you really just want images all on one page, you'd have to save each report to an image, then build up the HTML page in JSL. You can look at https://community.jmp.com/t5/JMP-Scripts/Export-Data-Table-to-HTML/ta-p/23410 for and example of building an HTML table from a JMP data table and insert <img> tags instead of column data.