MyColours={[0, 0.4470, 0.7410], [0.8500, 0.3250, 0.0980],[0.9290, 0.6940, 0.1250],[0.4940, 0.1840, 0.5560] , [0.4660, 0.6740, 0.1880], [0.3010, 0.7450, 0.9330],[0.6350, 0.0780, 0.1840], [0, 0, 1],[0, 0.5, 0], [1, 0, 0], [0, 0.75, 0.75],[0.75, 0, 0.75],[0.75, 0.75, 0],[0.25, 0.25, 0.25],'y','m','c','g','k'};
xlabelJK='Stromspannung [V]';
ylabelJK='Stromstärke [A]';
diagramname='Power Delivery'
V_PD30=[5,5,NaN, 9 ,9,NaN,15 ,15,NaN,20 ,20]
A_PD30=[0,3,NaN,15/9,3,NaN,27/15, 3,NaN,45/20, 3]
V_PD30PPS=[3.3,21,NaN,3.3,21]
A_PD30PPS=[3 , 3,NaN,5 , 5]
V_PD31=[20,20,NaN, 28 ,28,NaN, 36 ,36,NaN, 48 ,48]
A_PD31=[ 3, 5,NaN,100/28, 5,NaN,140/36, 5,NaN,180/48, 5]
V_PD31AVS=[15,48]
A_PD31AVS=[ 5, 5]
V_SUPERVOOC=[20,20]
A_SUPERVOOC=[ 5,9]
hold on
grid on
xlabel(xlabelJK);
ylabel(ylabelJK,'Interpreter','latex');
title(diagramname,'Interpreter','none')
bbb.XAxisLocation = 'origin';
bbb.YAxisLocation = 'origin';
xticks([0 5 9 12 15 20 28 36 48])
yticklabels([0,1,2,3,4,5,6,8,10,12])
%plotitJK(V_PD30,A_PD30,'./fig',xlabelJK,ylabelJK,diagramname)
plot(V_PD30 ,A_PD30 ,'LineStyle','-','Marker','none','LineWidth',1.5,'Color',MyColours{1});
plot(V_PD30PPS,A_PD30PPS,'LineStyle','-','Marker','none','LineWidth',1.5,'Color',MyColours{2});
plot(V_PD31 ,A_PD31 ,'LineStyle','-','Marker','none','LineWidth',1.5,'Color',MyColours{3});
plot(V_PD31AVS,A_PD31AVS,'LineStyle','-','Marker','none','LineWidth',1.5,'Color',MyColours{4});
plot(V_SUPERVOOC,A_SUPERVOOC,'LineStyle','-','Marker','none','LineWidth',1.5,'Color',MyColours{5});
legend('Power Delivery 3.0','Power Delivery 3.0+PPS','Power Delivery 3.1','Power Delivery 3.1+AVS','proprietary Smartphones','Location','northeast')
print('-dsvg',strcat('fig/',diagramname,'_rho14.svg'))