probplot and hold on
2 ビュー (過去 30 日間)
古いコメントを表示
How can I plot more than two "probplot" in one graph? I used "hold on" but it doesn't work. It only shows the last graph. And also please help me about using probplot in for loop, to draw in one graph.
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 1 月 4 日
x1 = wblrnd(3,3,100,1);
x2 = raylrnd(3,100,1);
x3 = raylrnd(3,100,1);
probplot('weibull',[x1 x2 x3])
4 件のコメント
Tom Lane
2013 年 1 月 4 日
編集済み: Tom Lane
2013 年 1 月 4 日
It is also possible to do
h = probplot(gca,x2)
to add x2 to an existing probability plot. This has the advantage that the x vectors don't need to have the same length. The disadvantage is that you'll want to change the color using h, to be different from the color of the stuff already on the plot.
Azzi Abdelmalek
2013 年 1 月 4 日
編集済み: Azzi Abdelmalek
2013 年 1 月 4 日
Exact, you can also set different color
h=probplot(gca,x2);
set(h,'color','g')
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!