News
On June 1, we’re asking you to select a content label when starting a new topic in the Discussions area. Read more to find out why.
Choose Language Hide Translation Bar
Highlighted

## How to add percentile lines in probability plot?

example: suppose I want to mark the 90th percentile on Y axis and link it to its corresponding value on x-axis on a probability plot.

How can this  be done? Thanks

Mohammed Ahmed
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

## Re: How to add percentile lines in probability plot?

See Help > Books > Essential Graphing for more details.

You can use the Line and Annotation tools to add these graphic elements to your plot with the mouse.

Alternatively, you can right-click inside the plot frame and select Customize. You will have to add some scripting expressions. The Pen Color( "red" ), H Line( x min, x max, 90 ), V Line( quantile, y min, y max ), and Text( CounterClockwise, "quantile" ) would be all you need.

Learn it once, use it forever!
3 REPLIES 3
Highlighted

## Re: How to add percentile lines in probability plot?

The answer depends on many things. For example,

• Do you want to work interactively or use a script?
• Are you using a built-in plot (e.g., Normal Quantile Plot in Distribution) or a custom plot (e.g., Picture Box object)?
• How do you want to mark the 90th percentile? A line?
• How is the percentile determined? Is it the empirical distribution, such as used in Quantiles report from Distribution? Is it from a fitted distribution model?
Learn it once, use it forever!
Highlighted

## Re: How to add percentile lines in probability plot?

1. I work interactively 100%

2. Using a built in plot (e.g., Normal Quantile Plot in Distribution)

3. A line (L - shaped) going from 90th percentile on Y axis and connecting to corresponding value on X axis

4. The percentile is choosen

Please see attached JPG for reference.. thanks Mohammed Ahmed
Highlighted

## Re: How to add percentile lines in probability plot?

See Help > Books > Essential Graphing for more details.

You can use the Line and Annotation tools to add these graphic elements to your plot with the mouse.

Alternatively, you can right-click inside the plot frame and select Customize. You will have to add some scripting expressions. The Pen Color( "red" ), H Line( x min, x max, 90 ), V Line( quantile, y min, y max ), and Text( CounterClockwise, "quantile" ) would be all you need.

Learn it once, use it forever!