- Timestamp:
- Apr 18, 2016, 2:47:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLIO/CTR+gfw/GFWnew/GFWnew.m
r490 r491 54 54 phiDiv=3;%steps in phi 55 55 saveflag=0;%set to 1 if you want to save model parameters 56 basefig=0;%base number of figures 57 icolor='r';%color of lines on plot 56 58 if (~isempty(var)) 57 59 strread(var,'%s','delimiter',';') … … 134 136 SpecInter=pchip( FreqHalf(1:Nmax),SpectrumHalf(1:Nmax),FreqInter);%interpolation 135 137 if PlotFunc(1)==1 136 figure( 1)137 plot(FreqInter,SpecInter, '-k','linew',2)138 figure(basefig+1) 139 plot(FreqInter,SpecInter,icolor,'linew',2) 138 140 hold on 139 141 grid on … … 298 300 299 301 if PlotFunc(1)==1 300 figure( 1)302 figure(basefig+1) 301 303 hold on 302 plot(c./(lam*1e-3)*1e-12,FFact,'o r','linew',2)304 plot(c./(lam*1e-3)*1e-12,FFact,'ok','linew',2) 303 305 legend('Form factor','Used points') 304 306 end … … 382 384 %% Plots 383 385 if PlotFunc(2)==1 384 figure( 2)385 plot(thet,bin_single(:,phiDiv+2), 'k','linew',2)386 figure(basefig+2) 387 plot(thet,bin_single(:,phiDiv+2),icolor,'linew',2) 386 388 set(gca,'fontsize',16) 387 389 ylabel('dI_1/d\Omega, [J sr^{-1}cm^{-1}]') … … 391 393 end 392 394 if PlotFunc(3)==1 393 figure( 3)394 plot(thet,sum_tr, 'r','linew',2)395 figure(basefig+3) 396 plot(thet,sum_tr,icolor,'linew',2) 395 397 % thet_rad=thet/180*pi; 396 398 % polar(thet_rad(:),sum_tr(:)); … … 406 408 407 409 if PlotFunc(4)==1 408 figure( 4)409 plot(time,Profile, 'r','linew',2)410 figure(basefig+4) 411 plot(time,Profile,icolor,'linew',2) 410 412 set(gca,'fontsize',16) 411 413 ylabel('Amplitude, [a.u.]') … … 416 418 417 419 if PlotFunc(5)==1 418 figure( 5)419 semilogy(nu_Hz*1e-12,SP_spec_1, 'r','linew',2)420 figure(basefig+5) 421 semilogy(nu_Hz*1e-12,SP_spec_1,icolor,'linew',2) 420 422 hold on 421 423 % load CTR.mat
Note: See TracChangeset
for help on using the changeset viewer.