Multiple density function with changing parameters plot in same graph

2 ビュー (過去 30 日間)
Sandipan
Sandipan 2017 年 6 月 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 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by