# use probplot two dimension

3 views (last 30 days)
ahmed youssef on 29 Dec 2016
Commented: Warda Panondi on 15 Nov 2019
Hi all, I am working on radar receiver to test its performance via ROC curve. ROC curve is between SNR ( signal to noise ratio) and Pd(probability of detection) at given Pfa(Probability of false alarm). I need to plot these curves with "probplot"(SNR - x-axis) and Pd( y-axis). Moreover, I need all plots in one curve.(hold on didn't work). any suggestion?. Thank you in advance.

Vishal Neelagiri on 3 Jan 2017
You can use a syntax similar to the following lines of code to plot more than one 'probplot' in one graph:
x1 = wblrnd(3,3,100,1);
x2 = raylrnd(3,100,1);
x3 = raylrnd(3,100,1);
probplot('weibull',[x1 x2 x3])
You might also find this documentation page helpful:
https://www.mathworks.com/help/stats/probplot.html

#### 1 Comment

Warda Panondi on 15 Nov 2019
Dear Vishal,
I just what to ask on how to plot linear probablity plot as the picture shown. you used random numbers in your code, but what if there is a x and y values?
for example.
x=[ 44 38 36 35 27 26.5 26 26 24 23.5 23 23 21 20.5 19.5 19 19 19 19 19 18 18 17.6 17 17 17 16 16 16 16 14.5 14 13 11 11 10 9 8.5 ]
y = [ 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 0.974359 ]
Best Regards,
Warda