Grace/C2/Installation-of-QtGrace-on-Windows/English-timed

From Script | Spoken-Tutorial
Revision as of 15:50, 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 of QtGrace on Windows
00:08 In this tutorial, we will learn to,

Download QtGrace software for Windows OS

00:17 Open QtGrace
00:20 Resize the graph panel
00:23 Load a dataset to plot a graph and
00:27 Save a Grace project
00:30 To record this tutorial, I am using,

Windows 10 OS

00:37 Firefox web browser 68.0
00:42 And working internet connection to download QtGrace
00:47 To follow this tutorial, Learner should be familiar with basic computer and internet skills.
00:55 QtGrace can be downloaded from the link shown here.
01:00 This is a fork of Grace 5.1.22 for Windows with Qt SDK tools by Nokia.
01:11 Open your default web browser.
01:15 You may use any web browser of your choice.
01:19 In the address bar, type sourgeforge.net and press Enter.
01:26 Sourceforge web page opens.
01:29 In the search form, type QtGrace and press Enter.
01:36 The web page refreshes with the search results.
01:41 Scroll down to locate QtGrace and click on it.
01:45 This goes to QtGrace project details in the summary tab.
01:51 The summary page shows the capabilities of the program.
01:56 Click on the Files tab to access the files required for us.
02:02 Here we can see the files that can be downloaded for different operating systems.
02:10 Click on the windows binary file to download as seen in the video.
02:16 The page refreshes and after a short pause, the download starts.
02:22 A Save As dialog box appears.
02:26 Select Save file option and click on OK to download the program.
02:23 Allow the file download to be completed.
02:37 For me the files are downloaded to the Downloads folder.
02:43 Open the file manager.
02:46 Go to the downloads folder in the file manager.
02:50 A compressed zip file for QtGrace has been downloaded here.
02:56 Next, extract the files from the zip file.
03:00 Select the zip file and right click to open the context menu.
03:06 Choose Extract All.
03:09 A dialog box opens prompting me to choose path.
03:14 I will keep it as is, in the Downloads folder and click on the Extract button.
03:23 The files are extracted and another dialog box shows the progress.

Allow the process to be completed.

03:32 A new file manager window opens for me showing the extracted folder.
03:39 The folder name and path is seen in the file manager.
03:44 Double click to enter in the newly created directory, as seen in the video.
03:51 The files are extracted to this folder.
03:55 Next, go to the bin directory.
03:58 The QtGrace application is already compiled for you.
04:03 Select the QtGrace application file and double click on it.
04:09 The program and a Setup Wizard dialog box opens.
04:14 This allows the user to input program setting.
04:19 The user preference Setup Wizard does not open after the first time.
04:26 Navigate through the Setup wizard and complete it.
04:34 Click on Finish to close the setup preferences dialog box.
04:40 To open Grace at a later time, navigate to this bin folder again.
04:46 Double click on the QtGrace application file to open QtGrace.
04:53 Grace opens with an empty graph panel.
04:57 First, we will adjust the graph size to fit the viewing window to the field of view.
05:05 Observe the small squares at the corners of the plot.
05:10 You may see the squares in all the four corners.
05:15 Scroll to right and bottom using the scroll bars.
05:20 Double click on any one of the small squares.
05:25 The graph turns blue and a two direction arrow is seen.
05:30 Move the arrow towards top left to resize the graph size.
05:35 We can move the arrow in any direction.
05:39 Left click at the desired position to set the size.
05:45 The blue highlight disappears.
05:48 Adjust scroll bars to view the full graph area on the screen.
05:57 Let us plot a straight line graph.
06:01 Go to the Desktop.
06:03 Notice a file, line dot txt.
06:07 This file is provided to you in the codefiles link of this tutorial.
06:13 I have downloaded and saved it on the Desktop directory.
06:18 Double click to open the file in a text editor.
06:22 First row starts with a hash and is a comment line.
06:27 Data headers may be added here.
06:31 Notice the two column data format.
06:35 First column is x data and second column is y data.
06:41 The data values are tab separated.
06:45 Close the file and go back to grace window.
06:49 Next, we will load data to plot a graph.
06:53 Notice that, the axis limits are from zero to one for both axes.
07:00 Next, let’s load the data file to make a XY plot.
07:05 Click on Data tab, Import and select ASCII format.
07:13 A Grace: Read sets dialog box opens.
07:17 In the Filter input box change * dot dat to * dot txt and press Enter.
07:28 This will show the list of directories and files containing dot txt extension.
07:35 From Directories option, select Desktop folder.
07:40 Select the file line.txt.
07:44 We will keep Load as Single Set.
07:48 Select Set Type as XY.
07:52 By default, Data Source is set to Disk.
07:56 By default, Auto Scale on read is set to XY.
08:01 Then, X and Y axis range automatically adjust to lower and higher values of data.
08:09 Click on OK button to load the data.
08:13 Click on Cancel to close the dialog box.
08:17 We can see a graph representing the data.
08:21 X and Y limits on the graph have changed from 0 to 10.
08:27 Let us save the file now.
08:30 Click on File and select Save.
08:34 A Save project dialog box opens.
08:38 Dot agr is the preferred extension for Grace project.
08:44 Choose the location for the file to be saved as Desktop.
08:50 In the Selection text box, type file name line dot agr.
08:56 Click on the OK button.
08:59 To close QtGrace Click on File menu and Exit.
09:05 Let us summarize.

In this tutorial, we, Downloaded QtGrace for Windows

09:13 Set QtGrace user preferences
09:17 Resized the graph panel
09:21 Made a straight line graph from data in a file

and

09:26 Saved the QtGrace project
09:30 As an assignment,

Plot a graph in QtGrace using the file, assignment.txt provided with this tutorial.

09:41 The video at the following link summarizes the Spoken Tutorial project.

Please download and watch it.

09:50 TheSpoken Tutorial team: conducts workshops and gives certificates on passing online tests.

Please write to us.

10:01 Please post your timed queries on this forum.
10:06 Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
10:14 More information on this mission is available at this link.
10:19 This is Rani from IIT Bombay. Thank you for joining.

Contributors and Content Editors

PoojaMoolya