close all clear all titlefig={'Spheroid'} %--------------------- legendloc='northeast'; fontsizeleg=12; fontsizetitle=16; fontsizenum=16; fontsizetext=14; linewidthcurves=2; linewidth=1; fontweight='bold'; numcolumnleg=3; markersize=2; markersizep=6; linewidthmarker=3; %------------------------ linestyle={'--'}; %------------------Figure 1---------- xlimmin=0.1; xlimmax=+50; ylimmin1=0; ylimmax1=10; xline1=0; xline2=3.375; xline3=1; %---------Figure 2------------- ylimmin2=-1; ylimmax2=+1; %------Figure 3------------- ylimmin3=0; ylimmax3=2.5; yline13=1; %------------------------- int=1000; %------------------------ linestyle={'--','--', '--','>'}; color={'r','b','k'}; %--------------------------------- %---------------------------------- titlefig={['Spheroid']};%:',' \nu= ',num2str(nu)]}; X=-1:0.01:1; %--------------------- chi=[1 2 3.38 4.5 ]; for i=1:length(chi) T0=-(X-sqrt(X.^2+chi(i)*(1-X.^2).^2)); if chi(i)==3.38 txt=['\chi= \chi_{1}']; else txt=['\chi= ',num2str(chi(i))]; end plot(X,T0,'displayname',txt,'LineWidth',linewidthmarker) hold on end legend show legend('fontsize',fontsizeleg); legend('location','southwest'); xlabel('X ') ylabel('\kappaT^0') line([-1 1], [2 2],'color','k','linestyle','--','linewidth',1,'HandleVisibility','off'); %------------------------- set(gca,'FontSize',fontsizenum) title(titlefig{1},'FontSize', fontsizetitle,'FontWeight',fontweight);%,'fontname','times'); set(gcf,'color','w'); set(gca,'fontname','Trebuchet MS') %-------------------------------------------