How to plot using logaritmic scale, for given points?

조회 수: 4 (최근 30일)
Ann-Sofi Kidwell
Ann-Sofi Kidwell 2017년 12월 18일
답변: Walter Roberson 2017년 12월 18일
I have done a few runs in MATLAB and gotten different values depending on the number of iterations. I would like to display these values using a log- scale graph
I have two sets of values
y1=[17.5,30,74.8,98.1,100,100];
y2=[5.6,8,12.1,19.7,28,72.1];
given at the iterations points
x=[50,100,200,500,1000,10000];
I have looked at the semilog function- but how should I set it up?
  댓글 수: 1
Rik
Rik 2017년 12월 18일
Have you read the documentation? If you did, what didn't you understand?

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2017년 12월 18일
semilogy(x, y1, x, y2)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Exponents and Logarithms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by