y axis not plotting log using the log-log function
Show older comments
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 Comments
Walter Roberson
on 10 Oct 2016
Experiment with
set(gca, 'YScale', 'log')
helen malenda
on 11 Oct 2016
Walter Roberson
on 11 Oct 2016
Could you attach a .mat or .xlsx file with the data?
Answers (1)
helen malenda
on 10 Oct 2016
0 votes
Categories
Find more on Log Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!