plotting a CDF with 2 logs axis

7 次查看(过去 30 天)
C.G.
C.G. 2022-3-10
回答: Voss 2022-3-11
I have a time series of data, and I want to plot a CDF for this.
I have plotted the cdf for this, but it is on normal axis. Is it possible to plot these were both the X and Y axis are log?
idx = Q>0.5
cdfplot(Q(idx))

回答(1 个)

Voss
Voss 2022-3-11
load('Q.mat')
idx = Q>0.5;
cdfplot(Q(idx));
set(gca(),'XScale','log','YScale','log');

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by