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

Experiment with
set(gca, 'YScale', 'log')
Hi Walter,
That still didn't seem to do the trick. It's still plotting the same way.
thanks!
Could you attach a .mat or .xlsx file with the data?

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

카테고리

도움말 센터File Exchange에서 Log Plots에 대해 자세히 알아보기

질문:

2016년 10월 10일

댓글:

2016년 10월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by