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 Commenti

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?

Accedi per commentare.

Richiesto:

il 10 Ott 2016

Commentato:

il 11 Ott 2016

Community Treasure Hunt

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

Start Hunting!

Translated by