Detect of a plot is loglog

1 vue (au cours des 30 derniers jours)
Theo
Theo le 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)?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 23 Nov 2013
Modifié(e) : Azzi Abdelmalek le 23 Nov 2013
xscale=get(gca,'xscale'),
yscale=get(gca,'yscale')
  1 commentaire
Theo
Theo le 23 Nov 2013
Yup. That does it!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Log Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by