excel/gnuplot/matlab?

Sedang analysis result nih, its good if I can decide which method to use in analysing my data…started with excel…susah juga nak multi- lines!! spend a few hours..and malas dah nak fikir sebab memang susah sangat la…lagi2 kalau nak add error bar and stuff, change to gnuplot..tengah syok2 belajar dengan lau..tetiba datang la my friend Mark saying better use matlab which is much more simple and you can analyse your graph in many2 ways…so let give it a try..I simply plotted the bahaviour 4 robots…memang result dummy sangat tapi better try it yer…

load robot.dat;
x = robot(:, 1);
y = robot(:, 2);
z = robot(:, 3);
a = robot(:, 4);
plot(x, y, x, z, x, a, ‘-r’, x , y, x, z, x, a, ‘ok’);
the resu;t is voila:
Bagaimana? I took 1 hour to draw this using GNUPLOT….jadi esok boleh la ke lib and pinjam buku matlab pulak…:P
Selepas menambah sedikit cosmetic….jadi la graph itu begini, which is not difficult and agak mudah nak tambah cosmetic ini ya..:)
Nasib baik la mamat nih bgtau suruh pakai matlab, or else seharian la dengan gnuplot yang susah nak generate pdf file dia…voila…
dan seterusnya sedikit result untuk di discuss esok..malam ini boleh rehat2 skit ye…blurgh!!!
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s