It’s World Statistics Day! To honor the theme of the day, the JMP User Community is having conversations about the importance of trust in statistics and data. And we want to hear from you! Tell us the steps you take to ensure that your data is trustworthy.
Choose Language Hide Translation Bar
Highlighted
johnm
Level I

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

Highlighted

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 )

 

View solution in original post

Highlighted
johnm
Level I

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

Highlighted

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

Article Labels

    There are no labels assigned to this post.