フィルターのクリア

How to plot semilog y graphic in Matlab?

2 ビュー (過去 30 日間)
nancy
nancy 2016 年 10 月 12 日
コメント済み: nancy 2016 年 10 月 12 日
Hi;
I have a .txt file with two columns.. Second column is between 180.2E+03 and 11.5. I want to plot second column as a semilog(y) axis. I want the first column to stay in linear X axis. Could you please help me? How can I do this?
You can find file in the attached .txt file.
Thank you..

採用された回答

Massimo Zanetti
Massimo Zanetti 2016 年 10 月 12 日
編集済み: Massimo Zanetti 2016 年 10 月 12 日
The matlab function semilogy() is what you need:
A=textread('test_1.txt');
semilogy(A(:,1),A(:,2));
grid on;
  1 件のコメント
nancy
nancy 2016 年 10 月 12 日
Thank you very much for your response.. That's Ok..

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Identification についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by