offset = 0.55;



data = [    5   0.55;

           10   0.55;

           15   0.55;

           20   2.3;

           22   3.15;

           24   4.45;

           26   5.5;

           28   6.8;

           30   8.7;

           32   9.5;

           34   11.5;

           36   12.8;

           38   14];

       

data(:,2) = data(:,2) - offset;       

plot(data(:,1),data(:,2),'o','markersize',6);

fs = 14;

xlabel('Current (Amps)','fontsize',fs);

ylabel('Power (W)','fontsize',fs);

title('Nd:YAG output power vs. input current','fontsize',fs);

grid on;

xlim([0 40]);