MATLAB Answers

Detect of a plot is loglog

1 view (last 30 days)
Theo
Theo on 23 Nov 2013
Edited: Azzi Abdelmalek on 23 Nov 2013
Quick question: Is there a way to detect whether the current figure is a loglog plot? (or regular plot or semilogx, semology)?

  0 Comments

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 23 Nov 2013
Edited: Azzi Abdelmalek on 23 Nov 2013
xscale=get(gca,'xscale'),
yscale=get(gca,'yscale')

  1 Comment

Theo
Theo on 23 Nov 2013
Yup. That does it!

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags