semilogx problem with two data sets
1 次查看(过去 30 天)
显示 更早的评论
My code:
load('ap08.dat')
load('periods.dat')
a=reshape(ap08,2,24)
x=periods
e=a(1,:)
e1=e(24:-1:1)
h=a(2,:)
h1=h(24:-1:1)
im=figure;
semilogx(x,e1,'b')
semilogx(x,h1,'p')
saveas(im,'apr01.jpg');
It works ok for e1 but does not draw h1.
How to solve this?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!