Multiple density function with changing parameters plot in same graph
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to plot multiple density curves in a single graph like the attached one. In this graph I want variable values (fixed) in one axis say X, normal pdf values in Z and how many parameter set is being used in Y axis... Can anybody please help me regarding this??? Thanks in advance...
Data set can be like this:
X = -3:0.01:3; X = X';
pd1 = normpdf(X, 0, 1);
pd2 = normpdf(X, 1, 1);
pd3 = normpdf(X, 2, 1);
pd4 = normpdf(X, 3, 1);
In X axis it will contain X values. In Z axis it will show pd values and in Y axis it will show 1, 2, 3, 4.

댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!