cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
johnm
Level III

graph axis format log decimal

I have been using the following code and then Fit Y by X to make the plot.

new column ("|ing|", formula (abs(:ing)));

column ("|ing|") << data type(numeric) << modeling type (continuous) << format (scientific) << set property ("axis", {scale(log),Min(1e-13),Max(1e-5)});

 

Recently converted to JMP12.

Now, when plotting this col as dep variable, the number format decimal places in the plot has added decimal places.

How may I control the number of decimal places without having to manually change the axis format using Axis Settings?

 

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: graph axis format log decimal

You can add "width" and "ndecimals" arguments to the format, for example:

 

Format( scientific, 15, 3 )

 

View solution in original post

Re: graph axis format log decimal

Axes generally have additional logic for formatting.  They can also dynamically adjust the decimals when zooming in and out, in order to ensure that there is enough resolution in the labelled ticks.  Your solution in option #3 of setting the format directly on the axis is probably the best way to go.

View solution in original post

3 REPLIES 3

Re: graph axis format log decimal

You can add "width" and "ndecimals" arguments to the format, for example:

 

Format( scientific, 15, 3 )

 

johnm
Level III

Re: graph axis format log decimal

Three attempts to produce the the bivar plot with desired dep axis scientific formatting with decimal = 0.

 

Only option three is giving the dep axis to have the desired format.

Why doesn't option #2, using the col > col properties > axis > 

or

using col > standardize properties > format

produce the desired format of the dep variable:  scientific, decimal=0?

 

I've attached an example jmp data file and jsl file.

 

Thanks,

John

Re: graph axis format log decimal

Axes generally have additional logic for formatting.  They can also dynamically adjust the decimals when zooming in and out, in order to ensure that there is enough resolution in the labelled ticks.  Your solution in option #3 of setting the format directly on the axis is probably the best way to go.