Names default to here(1);
//Make some example data and specify a couple values to check results
dt = New Table( "Example Data",
Add Rows( 1000 ),
New Column( "Data",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Exp( Random Uniform( 1, 100 ) ) ),
Set Selected
)
);
dt:Data << Delete Formula;
dt:Data[1] = 1;
dt:Data[2] = 10;
//In graph builder choose the log scale and then specify a custom format
gb = dt << Graph Builder(
Size( 822, 339 ),
Show Control Panel( 0 ),
Variables( X( :Data ) ),
Elements( Points( X, Legend( 25 ) ) ),
SendToReport(
Dispatch(
{},
"Data",
ScaleBox,
{Scale( "Log" ), Format(
"Custom",
Formula( "10^" || Char( Log10( value ) ) ),
12
), Min( 1 ), Max( 1e+45 ), Inc( 1 ), Minor Ticks( 0 )}
)
)
);