MATLAB: Detect of a plot is loglog

loglogplot

Quick question: Is there a way to detect whether the current figure is a loglog plot? (or regular plot or semilogx, semology)?

Best Answer

xscale=get(gca,'xscale'),
yscale=get(gca,'yscale')
Related Question