摘要:
open(100,file='results.d',status='replace',position='append') write(100,'(<nx+1>(2x,I5.3))') chi write(100,'(<ny>(2x,f25.15))') delta close(100) Statu 阅读全文
摘要:
x = 1:10; h = zeros(4); for i = 1:4 y = i*x; h(i) = plot(x,y); hold on end legend(h([1,2,3,4]),'y1','y2','y3','y4') hold off 在 for 循环中根据循环改变 legend,效果 阅读全文