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

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 11 月 23 日
編集済み: Azzi Abdelmalek 2013 年 11 月 23 日

0 投票

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

1 件のコメント

Theo
Theo 2013 年 11 月 23 日
Yup. That does it!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLog Plots についてさらに検索

タグ

質問済み:

2013 年 11 月 23 日

編集済み:

2013 年 11 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by