필터 지우기
필터 지우기

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 CenterFile Exchange에서 Graphics Object Identification에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by