Hello friend, maybe the following code will serve you.
Basically what it does is to change the characteristics of the plot, putting a font (Times new roman), a font size and a resolution that you can choose The same code exports the image as .eps which is the best format for inserting images in LaTeX. You would get something like the following:
x=0:pi/20:6; y1=sin(x); %function
figure(1);%ploting plot(x,y1) hold on plot(x,-y1,'r') title('PLOT') xlabel('x') ylabel('y') grid on
set(gca,'Units','normalized',... %characteristics of plot. 'Xtick',0:1:x(end)+1,'YTick',-1.2:.2:1.2,... 'FontUnits','points','FontWeight','normal',... 'FontSize',11,'FontName','Times'); %(format export,name file, resolution print ('-depsc', 'export_hgraph', '-r200')end