BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
Community Trekker

Expr As Picture... to show column formulas in journal

When using the 'Expr As Picture' command to display column formulas in a journal, the formula image is cut off on the right side, i.e. the whole formula is not displayed. I had been successful in the past using this same approach, but I recently upgraded to JMP 14.1.0 and I am not sure if my problem is related to that.

If there is no easy fix, is there a different way to display neatly  in a journal the formula in a column using JSL (not copying and pasting)?


0 Kudos
Super User

Re: Expr As Picture... to show column formulas in journal

I ran the simple script below, using JMP 14.3 in Windows 10, and did not have an issue.  

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big" );
dt << New Column( "sum", formula( Col Cumulative Sum( :height ) ) );

pic = Expr As Picture( dt:sum << get formula );

nw = New Window( "formula", <<journal, olb = Outline Box( "Formula Picture" ) );

olb << append( pic );

formula picture.png


My first suggestion is for you to upgrade to JMP 14.3.  If that does not fix the issue, could you provide more specifics about your script so the Community can take a closer look at it?