Grace/C2/Installation-and-Introduction-to-Grace/English-timed

From Script | Spoken-Tutorial
Revision as of 16:53, 2 September 2022 by PoojaMoolya (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:01 Welcome to the tutorial on Installation and Introduction to Grace.
00:07 In this tutorial, we will learn to,

Install Grace 5.1.25 in Ubuntu Linux 16.04

00:18 Open Grace interface
00:21 Resize the graph area
00:24 Open an XY dataset file and
00:29 Make a straight line graph
00:32 To record this tutorial, I am using

Ubuntu Linux OS version 16.04

00:40 Grace version 5.1.25 and
00:44 A working internet connection to download Grace.
00:49 To follow this tutorial,

Learners should be familiar with basic computer and Internet skills.

00:56 Let us now install Grace program in Ubuntu Linux OS 16.04.
01:03 This is the official website of Grace.
01:07 First I will demonstrate to install Grace using the Terminal.
01:13 Internet connectivity is required to install the software.
01:18 Press the windows key on keyboard.
01:22 Type terminal in the search box that appears and press Enter.
01:28 A terminal window opens.
01:31 At the prompt, type sudo space apt hyphen get space update and press Enter.
01:41 If prompted for sudo password, type the password and press Enter.
01:48 This step updates the available packages from the Internet sources.
01:54 This process takes a few seconds to complete.
01:58 Clear the terminal.
02:01 Next, type sudo space apt-get space install space grace.

Press Enter.

02:12 This process takes sometime to complete and installs Grace in your computer.
02:19 The process may exit without installing grace with lock error.

Then, see the installation sheet for further help.

02:30 Clear the terminal.
02:33 To open Grace using the Terminal, at prompt type xmgrace and press Enter.

Grace window opens.

02:43 Click on the X button on the top-left corner to close the window.
02:48 Now I will show how to open Grace using Search your computer option.
02:54 Press the windows key on the keyboard.
02:57 In the search box, that appears, type grace and press Enter.
03:02 This will open the Grace program.
03:05 Grace opens with an empty graph panel.
03:10 First, we will learn how to resize the graph panel.
03:14 There are four small solid squares at the corners of the graph panel.
03:20 Using the scroll bars, go to the bottom right corner of the graph.
03:26 Double click on the small black square on the bottom right corner.
03:32 You may choose any of the corner squares to resize.
03:37 Now the graph can be resized.
03:40 The border lines may or may not be visible now.
03:44 To resize drag and place the cursor at the desired position.
03:50 Now left click, to fix the size of the graph panel.
03:55 I will also adjust the scroll bars to see the full graph panel.
04:01 Now I will show how to plot a graph.
04:05 To plot the graph, download the line.txt file.
04:10 The file is provided in the code files link of this tutorial.
04:16 Extract the file and save it on the Desktop.
04:21 I have already downloaded and saved it on the Desktop.
04:26 Double click to open the file in a text editor.
04:30 First row starts with a hash and is a comment line.

This is a data header.

04:38 Notice the two column data format.
04:42 First column is x data and second column is y data.
04:47 In this data file values are tab separated.
04:51 Close the file and go back to Grace window.
04:55 Next, we will load the data on Grace interface to plot a graph.
05:01 Notice that, the axis limits are from zero to one for both axes.
05:08 Next, let’s load the data file to make an XY plot.
05:13 Click on Data tab, Import and select ASCII format.
05:19 A Grace: Read sets dialog box opens.
05:24 In the Filter input box change *.dat to *.txt and press Enter.
05:32 This will show the list of directories and files containing txt extension.
05:39 From Directories option, select Desktop folder.
05:44 Select the file line.txt.
05:48 We will keep Load as Single Set .
04:52 Select Set Type as XY.
05:55 By default, Data Source is set to Disk.
05:59 By default, Auto Scale on read is set to XY.
06:04 The range of X and Y axes automatically adjusts to lower and higher values of data.
06:13 Click on the Ok button to load the data.
06:17 Click on Cancel to close the dialog box.
06:21 We can see a graph representing the data.
06:25 X and Y limits on the graph have changed from 0 to 10.
06:31 Let us save the file.
06:33 Click on File and select Save.
06:37 Grace:Save project dialog box opens.
06:42 Dot agr is the preferred extension for grace plot.
06:47 I will choose Desktop to save the file.
06:51 In the Selection text box, type file name as line dot agr.
06:57 Click on the OK button to save the project.
07:01 To exit Grace, click on File, Exit or press control q on keyboard.
07:09 Let us summarize.
07:11 In this tutorial, we have, Installed Grace 5.1.25 in Ubuntu Linux 16.04
07:22 Opened Grace interface
07:25 Resized the graph area
07:28 Read an ASCII data set XY and plotted a graph
07:34 For assignment, please do the following.
07:38 Plot a graph in Grace using the file, assignment.txt provided with this tutorial.
07:46 The video at the following link summarizes the spoken tutorial project.

Please download and watch it.

07:56 The Spoken Tutorial Project team: conducts workshops and gives certificates on passing online tests. Please write to us.
08:06 Do you have questions in THIS Spoken Tutorial?
08:10 Please visit this site
08:13 Choose the minute and second where you have the question
08:17 Explain your question briefly. Someone from our team will answer them.
08:24 The Spoken Tutorial forum is for specific questions on this tutorial
08:30 Please do not post unrelated and general questions on them
08:35 This will help reduce the clutter.
08:39 With less clutter, we can use this discussion as instructional material.
08:46 Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.

More information on this mission is available at this link.

08:59 This tutorial is contributed by Rani. Thank you for joining.

Contributors and Content Editors

PoojaMoolya