plotting a CDF with 2 logs axis

1 view (last 30 days)
C.G.
C.G. on 10 Mar 2022
Answered: Voss on 11 Mar 2022
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))

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!