image thumbnail
from Data processing module for ion acceleration experiment by Sasha Zorin
Application producing dependence of magnetic and plasma characteristics on acceleration time

acc.m
[t,PF1,PF2,PF3,PF4,PF5,PF6,CS3U,CS2U,CS1,CS2L,CS3L,P] = textread('j.dat','%f %f %f %f %f %f %f %f %f %f %f %f %f ','headerlines',1);
PFigure = figure;
axes('FontSize',14,'position',[0.15  0.15  0.75  0.75])
plot(t,PF2,'--.r',t,PF3,'.-b',t,PF4,'.--g',t,PF5,'.-.m','MarkerSize',10.0);
axis([0  1.9 -15 20])
PF2XLabel=t(length(t));
PF2YLabel=PF2(length(t));
text(PF2XLabel,PF2YLabel,' \leftarrow PF2','HorizontalAlignment','left','FontSize',14)
PF3XLabel=t(length(t));
PF3YLabel=PF3(length(t));
text(PF3XLabel,PF3YLabel,' \leftarrow PF3','HorizontalAlignment','left','FontSize',14)
PF4XLabel=t(length(t));
PF4YLabel=PF4(length(t));
text(PF4XLabel,PF4YLabel,' \leftarrow PF4','HorizontalAlignment','left','FontSize',14)
PF5XLabel=t(length(t));
PF5YLabel=PF5(length(t));
text(PF5XLabel,PF5YLabel,' \leftarrow PF5','HorizontalAlignment','left','FontSize',14)
grid on
xlabel('Time, s','FontSize',14)
ylabel('I_p_f, kA','FontSize',14)
title('Active coils currents','FontSize',14)
print -f1 -djpeg 'acc.jpg'


Contact us at files@mathworks.com