plotting a CDF with 2 logs axis

조회 수: 5 (최근 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