Difference between revisions of "Grace/C2/Installation-of-QtGrace-on-Windows/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with " {|border=1 ||'''Visual Cue''' || '''Narration''' |- ||'''Slide Number 1''' '''Title Slide''' '''Installation of QtGrace in Windows''' || Welcome to the tutorial on '''Instal...")
 
 
(4 intermediate revisions by 3 users not shown)
Line 13: Line 13:
 
|| '''Slide Number 2'''
 
|| '''Slide Number 2'''
 
'''Learning Objectives'''
 
'''Learning Objectives'''
|| In this tutorial, we will learn to
+
|| In this tutorial, we will learn to,
 +
 
 
* Download QtGrace software for Windows OS
 
* Download QtGrace software for Windows OS
 
* Open QtGrace  
 
* Open QtGrace  
 
* Resize the graph panel
 
* Resize the graph panel
* Load a dataset to a plot a graph
+
* Load a dataset to plot a graph
 +
and
 
* Save a Grace project
 
* Save a Grace project
  
Line 23: Line 25:
 
|| '''Slide Number 3'''
 
|| '''Slide Number 3'''
 
'''System and Software Requirement'''
 
'''System and Software Requirement'''
|| To record this tutorial, I am using
+
|| To record this tutorial, I am using,
 +
 
 
* Windows 10 OS
 
* Windows 10 OS
* Microsoft Edge 40 web browser
+
* Firefox web browser 68.0
 
* Working internet connection to download QtGrace
 
* Working internet connection to download QtGrace
  
Line 33: Line 36:
 
'''Pre-requisites'''
 
'''Pre-requisites'''
 
|| To follow this tutorial,  
 
|| To follow this tutorial,  
* Learner should be familiar with basic computer and internet skills
+
* Learner should be familiar with basic computer and internet skills.
  
 
|-
 
|-
Line 40: Line 43:
 
||  
 
||  
 
* '''QtGrace''' can be downloaded from the link shown here.
 
* '''QtGrace''' can be downloaded from the link shown here.
* This is a fork of '''Grace 5.1.22''' for '''Windows''' with '''Qt SDK tools''' by '''Nokia'''
+
* This is a fork of '''Grace 5.1.22''' for '''Windows''' with '''Qt SDK tools''' by '''Nokia'''.
  
  
 
|-
 
|-
|| Press windows key
+
|| Open web browser.
|| Press the '''windows''' key on keyboard
+
|| Open your default web browser.
 +
You may use any web browser of your choice.
  
 
|-
 
|-
|| Type '''explorer''', press''' Enter'''
+
|| '''sourgeforge.net''' and press '''Enter '''.
 
+
||  
Point to the browser.
+
In the address bar, type '''sourgeforge.net''' and press '''Enter'''.
|| In search form, type '''explorer''' and press '''Enter'''.
+
Web browser opens.
+
  
 
|-
 
|-
|| '''sourgeforge.net''' and press '''Enter '''
+
|| '''Cursor on the page'''.
|| You may use any web browser of your choice
+
|| '''Sourceforge''' web page opens.
In the address bar type '''sourgeforge.net''' and press '''Enter'''
+
  
 
|-
 
|-
|| '''Cursor on the page.'''
+
|| Type '''QtGrace''' and '''Enter'''.
|| '''Sourceforge''' web page opens
+
|| In the search form, type '''QtGrace''' and press '''Enter'''.
 
+
|-
+
|| Type '''QtGrace''' and '''Enter'''
+
|| In the search form, type '''QtGrace''' and press '''Enter.'''
+
  
 
|-
 
|-
 
|| Point to the search results.
 
|| Point to the search results.
|| The web page refreshes with the search results
+
|| The web page refreshes with the search results.
  
 
|-
 
|-
|| Scroll down and click on '''QtGrace'''
+
|| Scroll down and click on '''QtGrace'''.
 
|| Scroll down to locate '''QtGrace''' and click on it.
 
|| Scroll down to locate '''QtGrace''' and click on it.
  
 
|-
 
|-
 
|| Cursor on the page.
 
|| Cursor on the page.
|| This goes to '''QtGrace''' project details in the '''summary''' tab
+
|| This goes to '''QtGrace''' project details in the '''summary''' tab.
  
 
|-
 
|-
 
|| Cursor on the '''summary''' page.
 
|| Cursor on the '''summary''' page.
|| The '''summary''' page shows the capabilities of the program
+
|| The '''summary''' page shows the capabilities of the program.
  
 
|-
 
|-
||Click on the'''Files''' tab
+
||Click on the'''Files''' tab.
 
|| Click on the '''Files''' tab to access the files required for us.
 
|| Click on the '''Files''' tab to access the files required for us.
  
 
|-
 
|-
||Hover mouse on .zip and .dmg files
+
||Hover mouse on .zip and .dmg files.
 
|| Here we can see the files that can be downloaded for different operating systems.
 
|| Here we can see the files that can be downloaded for different operating systems.
  
 
|-
 
|-
||Click on '''QtGrace_v026_win7''' file
+
||Click on '''QtGrace_v026_win7''' file.
|| Click on the windows binary file to download as seen in the video.  
+
|| Click on the '''windows binary''' file to download as seen in the video.  
  
 
|-
 
|-
||  
+
|| Cursor on the '''Sourceforge''' page.
 
|| Page refreshes and after a short pause, the download starts.
 
|| Page refreshes and after a short pause, the download starts.
  
 
|-
 
|-
|| point to the dialogue box.
+
|| Point to the dialog box.
Select '''save as'''
+
Select '''Save File'''.
Click on '''OK.'''
+
Click on '''OK'''.
|| A Save as dialogue box appears.
+
|| A '''Save As''' dialog box appears.
Select '''Save as''' option and click on '''OK''' to download the program.
+
Select '''Save file''' option and click on '''OK''' to download the program.
 +
 
 
Allow the file download to be completed.
 
Allow the file download to be completed.
  
 
|-
 
|-
|| show the Downloads folder where the files are downloaded.
+
|| show the '''Downloads''' folder where the files are downloaded.
 
|| For me the files are downloaded to the '''Downloads''' folder.
 
|| For me the files are downloaded to the '''Downloads''' folder.
  
 
|-
 
|-
||Press windows key
+
|| Open File Manager.
Type'''File explorer''' and '''Enter'''
+
|| Open the '''file manager'''.
|| Press '''windows''' key, in search form type''' File Explorer '''and press '''Enter.'''
+
  
 
|-
 
|-
|| Go to Download folder
+
|| Go to Downloads folder.
 
|| This opens the file explorer.  
 
|| This opens the file explorer.  
Go to the downloads folder in the file manager.
+
Go to the downloads folder in the '''file manager'''.
  
 
|-
 
|-
 
|| Point to the zip file.
 
|| Point to the zip file.
 
|| A '''compressed''' '''zip''' file for '''QtGrace''' has been downloaded here.
 
|| A '''compressed''' '''zip''' file for '''QtGrace''' has been downloaded here.
 +
 
Next, extract the files from the zip file.
 
Next, extract the files from the zip file.
  
 
|-
 
|-
|| Select the '''zip file''' and right click
+
|| Select the '''zip file''' and right click.
 
|| Select the '''zip file''' and right click to open the context menu.
 
|| Select the '''zip file''' and right click to open the context menu.
Choose '''extract all''' and navigate to extract the files from the zip file.
+
 
  
 
|-
 
|-
|| click on '''extract all'''  
+
|| Click on '''Extract all''' .
|| In the refreshed page, click on '''extract all''' on the top menu
+
|| Choose '''Extract All'''.
A dialogue box opens prompting me to choose path.
+
A dialog box opens prompting me to choose path.
  
 
|-
 
|-
||click on the '''Extract button.'''
+
||click on the '''Extract button'''.
 
|| I will keep it as is, in the '''Downloads''' folder and click on the '''Extract''' button.
 
|| I will keep it as is, in the '''Downloads''' folder and click on the '''Extract''' button.
  
 
|-
 
|-
|| Point to the dialogue box.
+
|| Point to the dialog box.
|| The files are extracted and another dialogue box shows the progress.
+
|| The files are extracted and another dialog box shows the progress.
 +
 
 
Allow the process to be completed.
 
Allow the process to be completed.
  
 
|-
 
|-
 
|| Hover mouse next to '''QtGrace_v026_win7''' folder name and path in file manager.
 
|| Hover mouse next to '''QtGrace_v026_win7''' folder name and path in file manager.
Go to folder '''QtGrace_v026_win7'''
 
 
|| A new '''file manager window''' opens for me showing the extracted folder.
 
|| A new '''file manager window''' opens for me showing the extracted folder.
 +
 
The folder name and path is seen in the '''file manager'''.
 
The folder name and path is seen in the '''file manager'''.
Double click to enter in the newly created '''directory''', as seen in the '''video'''.  
+
 
 +
|-
 +
|| Go to the folder '''QtGrace_v026_win7'''.
 +
|| Double click to enter in the newly created '''directory''', as seen in the '''video'''.  
 +
 
 
The files are extracted to this folder.
 
The files are extracted to this folder.
  
 
|-
 
|-
|| Go to the '''bin directory.'''
+
|| Go to the '''bin directory'''.
|| Next go to the '''bin''' directory.
+
|| Next, go to the '''bin''' directory.
  
 
|-
 
|-
|| Double click on '''QtGrace''' application file
+
|| Double click on '''QtGrace''' application file.
 
|| The '''QtGrace''' application is already compiled for you.
 
|| The '''QtGrace''' application is already compiled for you.
 +
 
Select the '''QtGrace''' application file and double click on it.
 
Select the '''QtGrace''' application file and double click on it.
  
 
|-
 
|-
||  
+
|| Cursor in the Setup Wizard dialog box.
|| This is different from the traditional windows installation.
+
|| The program and a '''Setup Wizard''' dialog box opens.  
The program and a '''Setup Wizard''' dialogue box opens.  
+
 
 
This allows the user to input program '''setting'''.
 
This allows the user to input program '''setting'''.
 +
 +
The user preference '''Setup Wizard''' does not open after the first time.
  
 
|-
 
|-
|| Navigate through the steps and click on '''finish'''
+
|| Navigate through the steps.
|| Navigate through the set up wizard and complete it.  
+
 
Click on '''finish''' to close the '''setup preferences''' dialogue box.
+
Click on '''Finish'''
 +
|| Navigate through the '''Setup wizard''' and complete it.  
 +
 
 +
Click on '''Finish''' to close the '''setup preferences''' dialog box.
  
 
|-
 
|-
|| Narration only
+
||Cursor in the bin folder.
 
|| To open '''Grace''' at a later time, navigate to this bin folder again.  
 
|| To open '''Grace''' at a later time, navigate to this bin folder again.  
Double click on the '''QtGrace''' application file to open Grace.
+
 
 +
Double click on the '''QtGrace''' application file to open '''QtGrace'''.
  
 
|-
 
|-
 
|| Cursor on the '''QtGrace''' window.
 
|| Cursor on the '''QtGrace''' window.
 
|| Grace opens with an empty '''graph''' panel.
 
|| Grace opens with an empty '''graph''' panel.
First, we will adjust the graph size to fit the viewing window to field of view.
+
 
 +
First, we will adjust the graph size to fit the viewing window to the field of view.
  
 
|-
 
|-
 
||Hover mouse over corner.
 
||Hover mouse over corner.
 
|| Observe the small squares at the corners of the plot.
 
|| Observe the small squares at the corners of the plot.
You can see the squares in all the four corners.
+
 
 +
You may see the squares in all the four corners.
  
 
|-
 
|-
Line 192: Line 204:
 
Double click on any one of the small squares.
 
Double click on any one of the small squares.
 
|| Scroll to right and bottom using the scroll bars.
 
|| Scroll to right and bottom using the scroll bars.
 +
 
Double click on any one of the small squares.
 
Double click on any one of the small squares.
  
Line 197: Line 210:
 
|| Point to the '''graph'''.
 
|| Point to the '''graph'''.
 
|| The graph turns blue and a two direction arrow is seen.
 
|| The graph turns blue and a two direction arrow is seen.
 +
 
Move the arrow towards top left to resize the graph size.
 
Move the arrow towards top left to resize the graph size.
 +
 
We can move the arrow in any direction.  
 
We can move the arrow in any direction.  
  
Line 210: Line 225:
  
 
|-
 
|-
||  
+
|| Cursor on the graph area.
|| Let us plot a straight line graph next.
+
|| Let us plot a straight line graph.
  
 
|-
 
|-
 
|| Go to '''Desktop'''
 
|| Go to '''Desktop'''
 
|| Go to the '''Desktop'''.
 
|| Go to the '''Desktop'''.
Notice a file, '''line dot txt'''.
+
 
This file is provided to you in the codefiles link of this tutorial.  
+
|-
I have downloaded and saved it on the Desktop directory.
+
|| Hover mouse next to '''line.txt''' file.
 +
|| Notice a file, '''line dot txt'''.
 +
 
 +
This file is provided to you in the '''codefiles''' link of this tutorial.  
 +
 
 +
I have downloaded and saved it on the '''Desktop''' directory.
  
 
|-
 
|-
 
|| Open the file.
 
|| Open the file.
Hover mouse over '''header'''
+
Hover mouse over '''header'''.
 
|| Double click to open the file in a text editor.
 
|| Double click to open the file in a text editor.
 +
 
First row starts with a '''hash''' and is a '''comment line'''.
 
First row starts with a '''hash''' and is a '''comment line'''.
 +
 
Data headers may be added here.
 
Data headers may be added here.
  
Line 230: Line 252:
 
|| Hover mouse over the columns
 
|| Hover mouse over the columns
 
|| Notice the two column data format.
 
|| Notice the two column data format.
 +
 
First column is x data and second column is y data.
 
First column is x data and second column is y data.
 +
 
The data values are tab separated.
 
The data values are tab separated.
  
 
|-
 
|-
|| Close the file
+
|| Close the file.
 
|| Close the file and go back to grace window.
 
|| Close the file and go back to grace window.
 +
 
Next, we will load data to plot a graph.  
 
Next, we will load data to plot a graph.  
  
Line 242: Line 267:
 
Cursor on the interface.
 
Cursor on the interface.
 
|| Notice that, the axis limits are from zero to one for both axes.
 
|| Notice that, the axis limits are from zero to one for both axes.
 +
 
Next, let’s load the data file to make a XY plot.
 
Next, let’s load the data file to make a XY plot.
  
 
|-
 
|-
|| Click on '''Data''' tab > '''Import''' > '''ASCII'''
+
|| Click on '''Data''' tab > '''Import''' > '''ASCII'''.
 
|| Click on '''Data''' tab, '''Import''' and select '''ASCII''' format.
 
|| Click on '''Data''' tab, '''Import''' and select '''ASCII''' format.
 
+
|-
 
+
|| Read set dialog box opens.
A '''Grace: Read sets''' dialogue box opens.
+
||A '''Grace: Read sets''' dialog box opens.
  
 
|-
 
|-
|| Change filter from '''*.dat''' to '''*.txt '''>> press '''Enter.'''
+
|| Change filter from '''*.dat''' to '''*.txt '''>> press '''Enter'''.
 
Point to the files and folders.
 
Point to the files and folders.
|| In the '''Filter''' input box change '''*.dat''' to '''*.txt '''and press '''Enter.'''
+
|| In the '''Filter''' input box change '''* dot dat''' to '''* dot txt ''' and press '''Enter'''.
This will show the list of directories and files containing the '''* .txt''' files.
+
 
 +
This will show the list of directories and files containing ''' dot txt''' extension.
  
 
|-
 
|-
|| Change directory to Desktop
+
|| Change directory to '''Desktop'''.
|| From '''Directories''' option, select '''Desktop''' '''folder'''.
+
|| From '''Directories''' option, select '''Desktop''' folder.
  
 
|-
 
|-
|| Select '''line.txt''' file
+
|| Select '''line.txt''' file.
 
|| Select the file '''line.txt'''.
 
|| Select the file '''line.txt'''.
  
 
|-
 
|-
 
|| click '''load''' set to '''single set'''
 
|| click '''load''' set to '''single set'''
|| We will keep '''Load '''as '''Single Set.'''
+
|| We will keep '''Load '''as '''Single Set'''.
  
 
|-
 
|-
|| Select '''Set Type''' as '''XY'''  
+
|| Select '''Set Type''' as '''XY''' .
|| '''S'''elect '''Set Type''' as '''XY'''.  
+
|| Select '''Set Type''' as '''XY'''.  
  
 
|-
 
|-
Line 278: Line 305:
  
 
|-
 
|-
|| Select '''Auto Scale on read''' for '''XY'''  
+
|| Select '''Auto Scale on read''' for '''XY''' .
|| By default, '''Auto Scale on read''' is set to '''XY.'''  
+
|| By default, '''Auto Scale on read''' is set to '''XY'''.
Then, '''X''' and '''Y''' '''axis''' range automatically adjust to lower and higher values of data.
+
 
 +
Then, '''X''' and '''Y''' axis range automatically adjust to lower and higher values of data.
  
 
|-
 
|-
|| Click on '''Ok '''
+
|| Click on '''OK '''.
|| Click on '''Ok '''button to load the data.
+
|| Click on '''OK '''button to load the data.
  
 
|-
 
|-
 
|| Click '''Cancel''' to close the Window.
 
|| Click '''Cancel''' to close the Window.
|| Click on '''Cancel''' to close the dialogue box.
+
|| Click on '''Cancel''' to close the dialog box.
  
 
|-
 
|-
|| Point at plot area to show straight line
+
|| Point at plot area to show straight line.
 
|| We can see a '''graph''' representing the data.
 
|| We can see a '''graph''' representing the data.
  
 
|-
 
|-
 
|| Hover mouse to limits of x-y axes.
 
|| Hover mouse to limits of x-y axes.
|| '''X''' and '''Y''' limits on the '''graph''' has changed from 0 to 10.  
+
|| '''X''' and '''Y''' limits on the '''graph''' have changed from 0 to 10.  
  
 
|-
 
|-
 
|| Click on File >> Save.
 
|| Click on File >> Save.
Point to the dialogue box.
+
Point to the dialog box.
 
|| Let us save the file now.
 
|| Let us save the file now.
 
Click on '''File''' and select '''Save'''.
 
Click on '''File''' and select '''Save'''.
'''Save project''' dialogue box opens.
+
A '''Save project''' dialog box opens.
 +
 
 +
|-
 +
|| Hover mouse near '''.agr'''.
 +
||  '''Dot agr''' is the preferred extension for '''Grace''' project.
  
 
|-
 
|-
 
|| Change directory, to '''Desktop'''.
 
|| Change directory, to '''Desktop'''.
|| Choose the location for the file to be saved.
+
|| Choose the location for the file to be saved as '''Desktop'''.
  
 
|-
 
|-
|| Type file name '''line'''
+
|| Type file name '''line.agr'''.
|| '''Dot agr''' is the preferred extension for '''grace''' project.
+
|| In the Selection text box, type file name '''line dot agr'''.
In the Selection text box, type file name '''line dot agr.'''
+
  
 
|-
 
|-
|| click on '''OK.'''
+
|| click on '''OK'''.
 
|| Click on the '''OK''' button.
 
|| Click on the '''OK''' button.
  
 
|-
 
|-
|| Close the save project  
+
|| Close the save project.
 
|| Close the save project.
 
|| Close the save project.
  
 
|-
 
|-
|| '''File , Quit'''
+
|| '''File , Quit'''.
|| To close '''QtGrace''' Click on '''File''' menu '''Quit'''
+
|| To close '''QtGrace''' Click on '''File''' menu and '''Exit'''.
 
+
|-
+
||
+
|| To open '''Grace''' again, go to the bin folder of the extracted file as before.
+
Double click to open the '''binary''' of the application file.
+
 
+
|-
+
|| Hover mouse over QtGrace application icon
+
|| To open '''QtGrace''' again, double click on the '''QtGrace application''' icon.
+
The user preference '''Setup''' '''Wizard''' does not open after the first time.
+
  
 
|-
 
|-
 
|| '''Slide Number 6'''
 
|| '''Slide Number 6'''
 
'''Summary'''
 
'''Summary'''
|| In this tutorial, we,
+
|| Let us summarize. In this tutorial, we,
  
 
* Downloaded '''QtGrace''' for Windows
 
* Downloaded '''QtGrace''' for Windows
Line 345: Line 366:
 
* Resized the '''graph''' panel
 
* Resized the '''graph''' panel
 
* Made a straight line graph from data in a file
 
* Made a straight line graph from data in a file
 +
and
 
* Saved the '''QtGrace''' project
 
* Saved the '''QtGrace''' project
  
Line 355: Line 377:
  
 
|-
 
|-
|| '''Slide Number 7'''
+
|| '''Slide Number 8'''
 
'''About Spoken Tutorial project.'''
 
'''About Spoken Tutorial project.'''
 
|| The video at the following link summarizes the Spoken Tutorial project.
 
|| The video at the following link summarizes the Spoken Tutorial project.
Line 361: Line 383:
  
 
|-
 
|-
||'''Slide Number 8'''
+
||'''Slide Number 9'''
 
'''Spoken Tutorial workshops'''
 
'''Spoken Tutorial workshops'''
||The'''Spoken Tutorial Project '''team:
+
||The'''Spoken Tutorial '''team:
  
 
* conducts workshops and
 
* conducts workshops and
Line 369: Line 391:
  
 
Please write to us.
 
Please write to us.
 +
 
|-
 
|-
||'''Slide Number 9'''
+
||'''Slide Number 10'''
 
'''Forum for specific questions:'''
 
'''Forum for specific questions:'''
||Please post your timed queries in this forum.
+
||Please post your timed queries on this forum.
  
 
|-
 
|-
||'''Slide Number 10'''
+
||'''Slide Number 11'''
 
'''Acknowledgement'''
 
'''Acknowledgement'''
 
||Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
 
||Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
Line 382: Line 405:
 
|-
 
|-
 
||  
 
||  
|| This is '''Rani '''from''' IIT Bombay.'''
+
|| This is Rani from '''IIT Bombay.'''
 
Thank you for joining.
 
Thank you for joining.
  
 
|-
 
|-
 
|}
 
|}

Latest revision as of 16:11, 28 October 2020

Visual Cue Narration
Slide Number 1

Title Slide Installation of QtGrace in Windows

Welcome to the tutorial on Installation of QtGrace on Windows
Slide Number 2

Learning Objectives

In this tutorial, we will learn to,
  • Download QtGrace software for Windows OS
  • Open QtGrace
  • Resize the graph panel
  • Load a dataset to plot a graph

and

  • Save a Grace project
Slide Number 3

System and Software Requirement

To record this tutorial, I am using,
  • Windows 10 OS
  • Firefox web browser 68.0
  • Working internet connection to download QtGrace


Slide Number 4

Pre-requisites

To follow this tutorial,
  • Learner should be familiar with basic computer and internet skills.
Slide Number 5

Installation for windows

  • QtGrace can be downloaded from the link shown here.
  • This is a fork of Grace 5.1.22 for Windows with Qt SDK tools by Nokia.


Open web browser. Open your default web browser.

You may use any web browser of your choice.

sourgeforge.net and press Enter .

In the address bar, type sourgeforge.net and press Enter.

Cursor on the page. Sourceforge web page opens.
Type QtGrace and Enter. In the search form, type QtGrace and press Enter.
Point to the search results. The web page refreshes with the search results.
Scroll down and click on QtGrace. Scroll down to locate QtGrace and click on it.
Cursor on the page. This goes to QtGrace project details in the summary tab.
Cursor on the summary page. The summary page shows the capabilities of the program.
Click on theFiles tab. Click on the Files tab to access the files required for us.
Hover mouse on .zip and .dmg files. Here we can see the files that can be downloaded for different operating systems.
Click on QtGrace_v026_win7 file. Click on the windows binary file to download as seen in the video.
Cursor on the Sourceforge page. Page refreshes and after a short pause, the download starts.
Point to the dialog box.

Select Save File. Click on OK.

A Save As dialog box appears.

Select Save file option and click on OK to download the program.

Allow the file download to be completed.

show the Downloads folder where the files are downloaded. For me the files are downloaded to the Downloads folder.
Open File Manager. Open the file manager.
Go to Downloads folder. This opens the file explorer.

Go to the downloads folder in the file manager.

Point to the zip file. A compressed zip file for QtGrace has been downloaded here.

Next, extract the files from the zip file.

Select the zip file and right click. Select the zip file and right click to open the context menu.


Click on Extract all . Choose Extract All.

A dialog box opens prompting me to choose path.

click on the Extract button. I will keep it as is, in the Downloads folder and click on the Extract button.
Point to the dialog box. The files are extracted and another dialog box shows the progress.

Allow the process to be completed.

Hover mouse next to QtGrace_v026_win7 folder name and path in file manager. A new file manager window opens for me showing the extracted folder.

The folder name and path is seen in the file manager.

Go to the folder QtGrace_v026_win7. Double click to enter in the newly created directory, as seen in the video.

The files are extracted to this folder.

Go to the bin directory. Next, go to the bin directory.
Double click on QtGrace application file. The QtGrace application is already compiled for you.

Select the QtGrace application file and double click on it.

Cursor in the Setup Wizard dialog box. The program and a Setup Wizard dialog box opens.

This allows the user to input program setting.

The user preference Setup Wizard does not open after the first time.

Navigate through the steps.

Click on Finish

Navigate through the Setup wizard and complete it.

Click on Finish to close the setup preferences dialog box.

Cursor in the bin folder. To open Grace at a later time, navigate to this bin folder again.

Double click on the QtGrace application file to open QtGrace.

Cursor on the QtGrace window. Grace opens with an empty graph panel.

First, we will adjust the graph size to fit the viewing window to the field of view.

Hover mouse over corner. Observe the small squares at the corners of the plot.

You may see the squares in all the four corners.

Scroll to right and bottom.

Double click on any one of the small squares.

Scroll to right and bottom using the scroll bars.

Double click on any one of the small squares.

Point to the graph. The graph turns blue and a two direction arrow is seen.

Move the arrow towards top left to resize the graph size.

We can move the arrow in any direction.

Left click to set the size. Left click at the desired position to set the size.

The blue highlight disappears.

Drag the scroll bars to fit the are. Adjust scroll bars to view the full graph area on the screen.
Cursor on the graph area. Let us plot a straight line graph.
Go to Desktop Go to the Desktop.
Hover mouse next to line.txt file. Notice a file, line dot txt.

This file is provided to you in the codefiles link of this tutorial.

I have downloaded and saved it on the Desktop directory.

Open the file.

Hover mouse over header.

Double click to open the file in a text editor.

First row starts with a hash and is a comment line.

Data headers may be added here.

Hover mouse over the columns Notice the two column data format.

First column is x data and second column is y data.

The data values are tab separated.

Close the file. Close the file and go back to grace window.

Next, we will load data to plot a graph.

Hover mouse over limits.

Cursor on the interface.

Notice that, the axis limits are from zero to one for both axes.

Next, let’s load the data file to make a XY plot.

Click on Data tab > Import > ASCII. Click on Data tab, Import and select ASCII format.
Read set dialog box opens. A Grace: Read sets dialog box opens.
Change filter from *.dat to *.txt >> press Enter.

Point to the files and folders.

In the Filter input box change * dot dat to * dot txt and press Enter.

This will show the list of directories and files containing dot txt extension.

Change directory to Desktop. From Directories option, select Desktop folder.
Select line.txt file. Select the file line.txt.
click load set to single set We will keep Load as Single Set.
Select Set Type as XY . Select Set Type as XY.
Select Data Source as Disk By default, Data Source is set to Disk.
Select Auto Scale on read for XY . By default, Auto Scale on read is set to XY.

Then, X and Y axis range automatically adjust to lower and higher values of data.

Click on OK . Click on OK button to load the data.
Click Cancel to close the Window. Click on Cancel to close the dialog box.
Point at plot area to show straight line. We can see a graph representing the data.
Hover mouse to limits of x-y axes. X and Y limits on the graph have changed from 0 to 10.
Click on File >> Save.

Point to the dialog box.

Let us save the file now.

Click on File and select Save. A Save project dialog box opens.

Hover mouse near .agr. Dot agr is the preferred extension for Grace project.
Change directory, to Desktop. Choose the location for the file to be saved as Desktop.
Type file name line.agr. In the Selection text box, type file name line dot agr.
click on OK. Click on the OK button.
Close the save project. Close the save project.
File , Quit. To close QtGrace Click on File menu and Exit.
Slide Number 6

Summary

Let us summarize. In this tutorial, we,
  • Downloaded QtGrace for Windows
  • Set QtGrace user preferences
  • Resized the graph panel
  • Made a straight line graph from data in a file

and

  • Saved the QtGrace project
Slide Number 7

Assignment

As an assignment,
  • Plot a graph in QtGrace using the file, assignment.txt provided with this tutorial.
Slide Number 8

About Spoken Tutorial project.

The video at the following link summarizes the Spoken Tutorial project.

Please download and watch it.

Slide Number 9

Spoken Tutorial workshops

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

Please write to us.

Slide Number 10

Forum for specific questions:

Please post your timed queries on this forum.
Slide Number 11

Acknowledgement

Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.

More information on this mission is available at this link.

This is Rani from IIT Bombay.

Thank you for joining.

Contributors and Content Editors

Madhurig, PoojaMoolya, Ranipv076, Snehalathak