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!
