Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

get log values of resultant

조회 수: 1 (최근 30일)
aditi
aditi 2013년 7월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
If i have final values as X= something Y=something when i plot them using plot(X,Y) command i get the desired plot in linear scale... I can change it to log scale by using loglog(X,Y) command. But I want to convert X and Y to log so that when I use plot(X,Y) command I get the same plot as I get for loglog(X,Y) command.
Please help me...
  댓글 수: 1
Jan
Jan 2013년 7월 15일
Please post some example data, such that the difference between your needs and Matt J's approach gets clear.

답변 (1개)

Matt J
Matt J 2013년 7월 15일
편집: Matt J 2013년 7월 15일
plot(log10(x), log10(Y))
  댓글 수: 2
aditi
aditi 2013년 7월 15일
it is not giving the same result..
Matt J
Matt J 2013년 7월 15일
편집: Matt J 2013년 7월 15일
It does for me....
It won't reproduce the axis labeling, of course. If that's your issue, that's not a mere matter of transforming X and Y. You would have to modify the XTickLabel and YTickLabel properties of the plot.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by