How to plot multiple CDF in one figure?
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello
I have 6 dataset. Each contains 10000 values.
I want to plot the CDF (Cumulative distribution function) of the dataset in a same figure in order to compare them.
I know that, total CDF will be 1 for each dataset.
How can I do that in MATLAB.
I am using cdfplot(dataset). But this is not working.
I am attaching a sample figure here.
0 comentarios
Respuestas (1)
Jalaj Gambhir
el 11 de Nov. de 2019
Hi,
For example:
load coastlines;
cdfplot(coastlat);
hold on;
cdfplot(coastlon);
Here the 'coastlat' and 'coastlon' are vectors of size 9865*1. And the output as:
0 comentarios
Ver también
Categorías
Más información sobre Descriptive Statistics and Visualization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!