Hi fellow friends,
I want to change the scale of a graph to a new scale. previous scale is start from 0 with the increment of 0.5. this graph and scale is auto generated from the data. my coding for plotting as below.
bit_error(1,oye) = sum(m5~=data_topi); % BER
Eb_No=snr(oye)-3; EbNo=10^(Eb_No/10);% fprintf('Looping = %1d, SNR = %1d, BitError = %1d,...
% jum,snr(oye),bit_error(oye));
% if snr(oye) == max(snr)
% display('*****************************');
% end
end total_bit_error(jum,:) = bit_error;endBER = sum(total_bit_error)/(length(m5)*iteration);figure; % BER vs SNR in linear value
plot(snr,BER,'ro-'); hold ongrid onxlabel('\fontname{calibri}{SNR}')ylabel('\fontname{calibri}{BER}')title('\fontsize{10}{BER vs SNR in Linear Value}')
Best Answer