y axis not plotting log using the log-log function
이전 댓글 표시
Hi,
I am having an issue using the loglog(x,y) function. My x data are time in seconds, and my y data are specific conductivity, in uS/cm.
My figure is attached and code follows:
figure; loglog(time_EC4s,EC_4_corr,'c')
title('Location 4 log-log SpCond')
xlabel('time (s)'); ylabel('log Specific Conductivity (uS/cm)')
grid on
I am thinking that the issue is that my data are from 240-310 uS/cm, but I didn't think that that would affect log plotting at all.
thank you!
댓글 수: 3
Walter Roberson
2016년 10월 10일
Experiment with
set(gca, 'YScale', 'log')
helen malenda
2016년 10월 11일
Walter Roberson
2016년 10월 11일
Could you attach a .mat or .xlsx file with the data?
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Log Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
