[Octave] Boxplot dengan Y Axis Log


y1 = [log10(60), log10(20),log10(30)];
y2 = [log10(1), log10(7), log10(150)];
y3 = [log10(100), log10(500), log10(10000)];

figure;

h1=boxplot ({y1,y2,y3});
disp(h1);
datalabels = {'0', '10^1', '10^2','10^3','10^4'};
set(gca,'YTickLabel',datalabels);

print("boxplotlog.png");
refresh
quit

Hasil

boxplot

  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s