plotting a CDF with 2 logs axis

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)

load('Q.mat')
idx = Q>0.5;
cdfplot(Q(idx));
set(gca(),'XScale','log','YScale','log');

Asked:

on 10 Mar 2022

Answered:

on 11 Mar 2022

Community Treasure Hunt

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

Start Hunting!