cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

How to plot a normal curve by "Normal Density" function in JSL?

Hi, I want to plot a nornal curve given a set of data by also pre-define the sigma and mean values.

How to use the function "Normal Density()"?
What's the arguments?

I could not find the details in JMP Help, which seems sucks in looking
some JSL functions.

Anyone can help me out?

Fred
1 REPLY 1

Re: How to plot a normal curve by "Normal Density" function in JSL?

Fred,

The arguments are Normal Density(x, mu, sigma). For example, the code

Normal Density(98, 100, 10)

returns the value 0.039104269.

Just for fun, the code below draws a normal curve with sliders for the mean and sigma. You can modify the code to fit your purposes.


mu = 0;
sigma = 1;

New Window( "Normal Curve",
gdey = Graph Box(
Y Scale( -.05, .5 ),
X Scale( -10, 10 ),
XName( "y" ),
Pen Color( "red" );
Y Function( normal density(y, mu, sigma), y );
),
H List Box( Slider Box( -5, 5, mu, gdey << reshow ), Text Box( "mu" ) ),
H List Box( Slider Box( 0, 5, sigma, gdey << reshow ), Text Box( "sigma" ) )
);

Recommended Articles