Scilab/C2/Plotting-2D-graphs/Khasi
From Script | Spoken-Tutorial
Revision as of 18:21, 21 July 2017 by Meboreen Mary (Talk | contribs)
Time | Narration |
00:00 | Ngi pdiangsngewbha ia phi sha ka spoken tutorial halor ka Plotting 2D graphs bad ka Scilab. |
00:04 | Ngi shim ba ka Scilab la dep install ha ka computer jong phi , ngin ia kren shaphang “plots ”ha Scilab. |
00:10 | Scilab ka ai shibun ki lad ban create bad customize bun jait ki 2D bad 3D plots. |
00:15 | Ki common charts ba bun ba ka Scilab ka lah ban shna kidei: x-y plots, contour plots, 3D plots, histograms, bar charts bad kiwei kiwei |
00:24 | Mynta plie ia ka Scilab console window jong phi. |
00:28 | Ngan pyndonkam ia ka Plotting.sce file ban cut bad paste ia ki commands. |
00:34 | Ban lah ban plot, ngi donkam ia ka set jong ki points. To ngin create ia ka sequence jong ki equally spaced points. |
00:39 | Kane lah ban leh da ka linspace command kaba create ia u linearly equally spaced vector. |
00:45 | Kum ka nuksa, |
00:48 | x udei u row vector ryngkat 5 points linearly equally spaced hapdeng 1 bad 10. |
00:57 | Kumjuh ruh, y udei u row vector ryngkat linearly equally spaced 5 points hapdeng 1 bad 20. |
01:08 | Kham bun ki jingtip halor ka linspace lah ban ioh na ka Help documentation. |
01:14 | Ngin plot ia ka graph bad ki arguments x bad y da kaba pyndonkam ia ka plot function. |
01:19 | Kane ka iasyriem bad ia kaba pyndonkam ha ka matlab. |
01:23 | plot(x,y) ka create ia ka graph jong x verses y kumba phi iohi. |
01:31 | Phi iohi ba ka Graphics window la labeled kum '0'. |
01:36 | Ngin plie sa kawei ka graphic window da kaba pyndonkam ia ka xset function. |
01:41 | Ngan khang noh ia kane. |
01:43 | Cut ia ka xset function, paste ha Scilab, nion Enter. |
01:50 | Phin iohi ia ka Graphic window number 1. |
01:54 | Kynmaw ba ki artylli ki arguments la passed sha kane ka function kata ka 'window' bad 1. |
02:03 | Ka graph ba bud yn sa plot ha kane ka window. |
02:06 | Na ka bynta ka Scilab, plot2d kadei ka native function ba pyndonkam ban plot ia ki 2d graphs. |
02:14 | plot2d command ka plot ia ka graph jong x verses y kumba phi iohi. |
02:26 | Phi iohi ba don u argument balai ba kyrteng 'style'. |
02:31 | style argument udei optional. La ju pyndonkam ban pynpher ia ka jingwandur jong ka plot. |
02:36 | Na ka bynta ki positive values jong style, ka curve kadei plain ryngkat kiwei ki rong ba bun kum green na bynta 3 ha kane ka bynta jong ngi. |
02:44 | Ka default value jong style kadei 1. |
02:46 | Pyrshang ban plot ia ki graphs na ka bynta ki negative values bad peit hi ia ka jingpher ha ka jingwandur. |
02:51 | Kumjuh ruh ngi lah ban set ia ki start points bad end points na ka bynta x bad y axes da kaba pass ia u argument basaw. |
02:57 | La ju khot ia u rect. Kumba phi iohi, |
03:07 | Ngi don x axis ba sdang na 1 haduh 10 bad y axis na 1 haduh 20. |
03:14 | Ka order jong ki argument ha ka rect command kadei xmin,ymin,xmax bad ymax. |
03:24 | To ngin pule mynta shaphang ka title,axis bad legends |
03:28 | Ban configure ia ki labels sha ka axis bad title sha ka plot ngi lah ban pyndonkam ia ki commands title, xlabel and ylabel. |
03:38 | Ngan cut ia kane ka set jong ki commands bad paste ha ka console . Nion Enter. |
03:45 | Phin iohi ba ka graph lah dep labeled x sha ka x-axis,y sha ka y-axis bad ka title jong ka graph kadei ‘My title’ |
03:58 | Phi lah ban kwah ban configure ia ka title bad axes jong ka plot ha kawei ka command ha ka jaka jong 3. |
04:04 | Na ka bynta kane ka kam ngi pyndonkam ia ka xtitle command ryngkat bad baroh 3 tylli ki arguments. |
04:11 | Ngan cut ia kane ka command , paste ha scilab , “Enter” |
04:18 | Mynta phi iohi ba ka x-axis label kadei X-axis, Y axis bad ka title kadei 'My title'. |
04:26 | Ka clf() function kaba nga type mynta, kan clear ia ka graphic window kumba phi iohi. |
04:36 | Ka iarap ha ka por ba plot ia ki graphs bapher bapher ha ka juh ka graphic window. |
04:41 | Ngan khang noh ia kane ka window. |
04:44 | Teng2 ngi donkam ban ianujor ia artylli ki sets jong ki data ha kajuh ka plot , kata, kawei ka set jong x data bad artylli ki sets jong y data. |
04:51 | To ngin peit ia kawei ka nuksa na ka bynta kane, Ngan scroll shapoh. |
04:56 | Ngin define ia ka x-axis points ha u row vector “x” da kaba pyndonkam ia ka linspace command. |
05:03 | To ngin define ia ka function. |
05:05 | y1 = x square. |
05:07 | plot x verses y1. |
05:10 | Define ia kawei ka function y2 = 2 x square. |
05:15 | plot x verses y2. |
05:17 | Ngin ai ruh ia ka label bad ka title sha ka graph jong ngi. |
05:22 | Phin iohi ba ngi don ia kiba la passed lang “o-” bad “+-” commands sha ka plot function, ban pynkylla ia ka jingwandur jong ka curve. |
05:33 | Kine ki arguments kim dei ki bynta jong ka plot2d function. |
05:37 | Kine lah ban pyndonkam tang bad ka plot function. |
05:41 | Ngan copy ia kine ki set jong ki commands bad paste ha ka Scilab console. |
05:49 | Phi iohi ia ka graph. |
05:51 | Hato kam dei ka jingiarap ba biang bha ban tip kano ka curve ka don jingiadei bad kano ka function? |
05:56 | Kane lah ban iohi da kaba pyndonkam ia ka legend command kumba phi iohi. |
06:08 | “o-” curve u thew ia ka function y1=x square bad “+-” curve u thew ia ka function y2=2*x^2 (y2=2x square) |
06:19 | Ngan khang noh ia kane ka graphic window. |
06:22 | Ngin ia kren mynta shaphang ka plot2d demos bad subplot function. |
06:28 | Scilab ka ai ia ki demos na ka bynta baroh ki functions ba kham donkam. |
06:31 | Demosjong ka plot2d lah ban peit lyngba jong ka demonstration tab. |
06:39 | Nion ha Graphics, click 2D bad 3D plots bad jied ia kawei ka demo na ki demos ba bun ba la ai. |
06:51 | Ngan nion ha plot2d. |
06:54 | Phi iohi ia ka demo graph. |
06:55 | Une u code na ka bynta ka graph lah ruh ban iohi da kaba nion ha u view code button hangne. |
07:02 | Kane ka link kam plie ha ka Mac OS tangba ka treikam ha Windows bad Linux. |
07:07 | Wat la katta ha ka Mac u code lah ban peit lyngba jong ka directory. |
07:12 | To ngin phai sha ka terminal. |
07:15 | Ia mynta nga don ha ka 'demos' directory jong ka Scilab 5.2 kumba la pyni. |
07:21 | Ka path bapura sha kane ka directory la pyni hangne. |
07:27 | Ngin type ls ban iohi ia ka list jong ki demos ba don , kumba phi iohi hangne. |
07:36 | Nangta ngin jied ia ka 2d_3d_plots directory bad nion “Enter” |
07:46 | Type ls sa shisien ban iohi ia shibun ki demo code ba don ha ka 'sce' files. |
07:55 | Ngin peit ia u code na ka bynta ka demo kaba ngi la dep peit hashwa. |
08:00 | Type more plot2d.dem.sce bad nion Enter. |
08:11 | Hangne phin iohi ia u code na ka bynta ka demo graph jong ka plot2d function. |
08:18 | Ngan khang noh ia ka terminal. |
08:21 | Ngan khang noh ia ka demo graph bad ka demo window. |
08:26 | Ha kajuh ka rukom phi lah ban iaid lyngba jong kiwei ki demos bad tih bniah ia ka Scilab. |
08:29 | To ngin ia kren mynta shaphang ka subplot function. |
08:33 | Ka subplot() function ka phiah ia ka graphics window sha ka matrix jong ki sub-windows. |
08:37 | Ban batai ia kane ka function ngin pyndonkam ia ki demos na ka bynta ban plot ia ka 2D graphs ha ka Scilab. |
08:43 | Kum ka nuksa, type plot2d ha ka console jong phi bad peit ia ka demo plot na ka bynta kane ka function. |
08:58 | Ngan khang noh ia kane ka window. |
09:00 | Ka “subplot command” kan phiah ia ka graphics window sha ka '2 by 2' matrix jong ki sub-windows ba la kdew da ki artylli ki arguments ba nyngkong ha ka subplot command. |
09:10 | U argument balai u kdew ia ka current window ha kaba ia ka plot yn sa plot. |
09:15 | Ngan execute ia baroh kawei ka set jong ki commands da kaba copy ia ka sha ka scilab console. |
09:24 | Phi lah ban iohi 4 tylli ki plots ha kawei ka plot window. |
09:28 | Ka plot ba la ioh lah ban save kum ka image ha ka computer jong phi. |
09:32 | Nion ha ka graphic window, leit sha ka “File” menu, jied “Export to”. |
09:39 | Ai ia ka title ba biang ia ka plot jong phi. |
09:50 | Jied ia ka destination folder ban save ia ka file jong phi. |
09:54 | Jied ia ka file format ha kaba phi kwah ba ka image kan paw. |
09:59 | Ngan jied ia ka JPEG format bad nion “Save” |
10:05 | Browse lyngba ka directory ban plie ia ka image bad pynshisha ialade ba lada la dep save ne em. |
10:11 | Bad da kane ngi la poi sha kaba kut jong ka spoken tutorial halor ka Plotting in Scilab. |
10:15 | Don shibun kiwei pat ki functions ha Scilab kiba ngin sa iapeit ha kiwei pat ki spoken tutorials. |
10:20 | Iai peit ia ki Scilab links. |
10:22 | Spoken Tutorials kidei shibynta jong ka Talk to a Teacher project, bad la kyrshan da ka National Mission on Education lyngba ka ICT. |
10:29 | Kham bun ki jingtip halor kine ki don ha ka link ba la ai harum. |
10:32 | Nga i Meboreen na Shillong nga pynkut ia kane .Khublei Shibun. |