I'd like some advice on how to do something like the plots below.
function MaxPower = partAQ2(ElectricalData)
data = ElectricalData;
time = data(:,1);
volts = data(:,2);
amps = data(:,3);
Power = amps.*volts;
MaxPower = max(Power);
xlabel('time (s) ');
ylabel(' Power (W) ');
title( ' Power Used Over Time Drawn From Robot ');
legend('Power Over Time' , 'Maximum Power Drawn ','Location', 'west' );
I want it do something like this
While my code is doing this, and can anyone suggest how to make the circle hollow like that in my code?