How to define PNG width generated from a Tabulate?Hi!
I would like to define the width of a generated PNG file to 550 pixels.
I tried using "set size" or just "size" but without success.
Do you have any idea to do that?
Thank you!
tab=dt2<< Tabulate(
Show Control Panel( 0 ),
Add Table(
Column Table(
Analysis Columns( :Value ),
Statistics( N, Mean, Median, Std Dev, Min, Max )
),
Row Table( Grouping Columns( :Name( "myTest" )) )
)
);
report(tab) << save picture( "myFile.png", "png");ScriptingRe: How to define PNG width generated from a Tabulate?I think you would have to first get the tabulate as Picture inside Picture Box and modify the size of that.
Something like this:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Car Poll.jmp");
obj = dt << Tabulate(
Show Control Panel(0),
Add Table(
Column Table(Grouping Columns(:sex, :marital status)),
Row Table(Grouping Columns(:country, :size))
)
);
pic = Picture Box(obj << Get Picture);
Close(dt, no save);
pic << Set Width(550); //might have to modify size
pic << save picture( "$TEMP\myFile.png", "png");
Re: How to define PNG width generated from a Tabulate?Great it works fine!
Thank you jthi
Arnaud