Matlab

These lines of code help make a better looking plot that can be exported for a notebook or a publication.

x=[400:1:450];
y=2*sin(x/5);
figure('units','centimeters','Position', [10 10 8.5 8.5])
p=plot(x,y,'LineWidth',1.1); %make curve slightly thicker than default
set(gca,'linewidth',1.1)  %make axis slightly lines thicker than default
axis([400 450 0 3])
xlabel('wavelength, \lambda (nm)') %LaTeX notation for math symbols
ylabel('intensity (W/cm^2)') %LaTeX notation for superscript
set(gca,'FontSize',10) %10 point font when used as 8.5 cm figure.

Additional pointers about graphs on Matlab.