I can make a figure in command window with script as follows.
figure
subplot(2,2,1)
hist(aggregate_loss,50)
title('Aggregate Loss')
xlabel('Nilai Aggregate Loss'),ylabel('Frekuensi Aggregate Loss')
subplot(2,2,2)
hist(panjer_sum,50)
title('PV Aggregate Loss')
xlabel('Nilai PV Aggregate Loss'),ylabel('Frekuensi PV Aggregate Loss')
subplot(2,2,3)
hist(ret_loss,50)
title('Retained Loss')
xlabel('Nilai Retained Loss'),ylabel('Frekuensi Retained Loss')
subplot(2,2,4)
hist(retained_loss,50)
title('PV Retained Loss')
xlabel('Nilai PV Retained Loss'),ylabel('Frekuensi Retained Loss')
My problem is
How to put that code in GUI on axes as we can put logo or graphics?