Difference between revisions of "Grace/C2/Installation-and-Introduction-to-Grace/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|| '''Slide Number 1'''
 
|| '''Slide Number 1'''
 
'''Title Slide'''
 
'''Title Slide'''
||Welcome to the tutorial on '''Installation and Introduction to Grace.'''
+
||Welcome to the tutorial on '''Installation and Introduction to Grace'''.
  
 
|-
 
|-
Line 26: Line 26:
 
* Grace version 5.1.25
 
* Grace version 5.1.25
 
and  
 
and  
* A working internet connection to download '''Grace.'''
+
* A working internet connection to download '''Grace'''.
  
 
|-
 
|-
Line 38: Line 38:
 
'''Resource link'''
 
'''Resource link'''
 
|| Let us now install Grace program in Ubuntu Linux OS 16.04.
 
|| Let us now install Grace program in Ubuntu Linux OS 16.04.
This is the official website of Grace.
+
 
 +
This is the official website of '''Grace'''.
  
 
|-
 
|-
|| Cursor on Ubuntu Linux Interface.
+
|| Cursor on '''Ubuntu Linux Interface'''.
|| First I will demonstrate to install '''Grace''' using the terminal.
+
|| First I will demonstrate to install '''Grace''' using the '''Terminal'''.
  
 
|-
 
|-
|| Cursor on Ubuntu linux interface.
+
|| Cursor on '''Ubuntu Linux''' interface.
 +
 
 
Show the '''Ubuntu Desktop'''.
 
Show the '''Ubuntu Desktop'''.
|| Installing '''Grace''' using the terminal, is a three step process.
+
|| Internet connectivity is required to install the software.
Internet connectivity is required to install the software.
+
  
 
|-
 
|-
Line 55: Line 56:
  
 
|-
 
|-
|| Type '''terminal''' in search form
+
|| Type '''terminal''' in search box.
'''Press''' '''enter'''
+
Press '''Enter'''.
 
|| Type terminal in the search box that appears and press '''Enter'''.
 
|| Type terminal in the search box that appears and press '''Enter'''.
  
Line 64: Line 65:
  
 
|-
 
|-
|| Type '''sudo apt-get update >>'''
+
|| Type '''sudo apt-get update >> press'''Enter'''
press'''Enter'''
+
|| At the prompt, type '''sudo space apt hyphen get space update''' and press '''Enter'''.
|| At the prompt, type '''sudo space apt hyphen get space update''' and '''press Enter'''
+
  
 
|-
 
|-
|| Enter '''sudo password''' >> press '''Enter.'''
+
|| Enter '''sudo password''' >> press '''Enter'''.
 +
 
 
Point to installing packages.
 
Point to installing packages.
|| If prompted for '''sudo password''', type the password and press '''Enter'''
+
|| If prompted for '''sudo password''', type the password and press '''Enter'''.
 +
 
 
This step updates the available packages from the Internet sources.
 
This step updates the available packages from the Internet sources.
 +
 
This process takes a few seconds to complete.
 
This process takes a few seconds to complete.
  
 
|-
 
|-
 
||Ctrl-L
 
||Ctrl-L
||I will clear the terminal.
+
||Clear the terminal.
  
 
|-
 
|-
|| Type '''sudo apt-get install grace >>'''
+
|| Type '''sudo apt-get install grace >> press ''' Enter'''.
press''' Enter.'''
+
|| Next, type '''sudo space apt-get space install space grace'''.
|| Next, type''' sudo space apt-get space install space grace.'''
+
Press '''Enter'''.
Press''' Enter.'''
+
  
 
|-
 
|-
 
|| '''If prompted, enter y '''
 
|| '''If prompted, enter y '''
 +
 
Point to the installation process steps.
 
Point to the installation process steps.
 
|| This process takes sometime to complete and installs '''Grace''' in your computer.
 
|| This process takes sometime to complete and installs '''Grace''' in your computer.
  
 
|-
 
|-
||  
+
|| Cursor on the '''Terminal''' window.
 
|| The process may exit without installing grace with lock error.
 
|| The process may exit without installing grace with lock error.
 +
 
Then, see the installation sheet for further help.
 
Then, see the installation sheet for further help.
  
 
|-
 
|-
 
||Ctrl-L
 
||Ctrl-L
||I will clear the terminal.
+
|Clear the terminal.
  
 
|-
 
|-
 
|| At the prompt, type '''xmgrace '''>> press''' Enter.'''
 
|| At the prompt, type '''xmgrace '''>> press''' Enter.'''
 
Point to the Grace window.
 
Point to the Grace window.
|| To open '''Grace''' using the terminal,
+
|| To open '''Grace''' using the Terminal,
at prompt type '''xmgrace '''and press '''Enter'''.
+
at prompt type '''xmgrace''' and press '''Enter'''.
 +
 
 
'''Grace''' window opens.
 
'''Grace''' window opens.
  
Line 113: Line 118:
 
|| Cursor on the Ubuntu Linux interface.
 
|| Cursor on the Ubuntu Linux interface.
 
Press the windows key on keyboard.
 
Press the windows key on keyboard.
|| Now I will show how to open '''Grace''' using '''search your computer''' option.
+
|| Now I will show how to open '''Grace''' using '''Search your computer''' option.
 +
 
 
Press the windows key on the keyboard.
 
Press the windows key on the keyboard.
  
 
|-
 
|-
 
|| Type '''grace '''in the search box >> Press '''Enter.'''
 
|| Type '''grace '''in the search box >> Press '''Enter.'''
|| In the search box, that appears type '''grace''' and press '''Enter'''.
+
|| In the search box, that appears, type '''grace''' and press '''Enter'''.
This will open '''Grace''' program.
+
 
 +
This will open the '''Grace''' program.
  
 
|-
 
|-
Line 125: Line 132:
 
Cursor on the graph.
 
Cursor on the graph.
 
|| '''Grace''' opens with an empty graph panel.
 
|| '''Grace''' opens with an empty graph panel.
 +
 
First, we will learn how to resize the graph panel.
 
First, we will learn how to resize the graph panel.
  
 
|-
 
|-
 
|| Point to the solid squares at the corners.
 
|| Point to the solid squares at the corners.
 +
 
Drag the scroll bar.
 
Drag the scroll bar.
Show bottom right corner or graph panel
+
 
 +
Show bottom right corner or graph panel.
 
|| There are four small solid squares at the corners of the graph panel.
 
|| There are four small solid squares at the corners of the graph panel.
 +
 
Using the scroll bars, go to the bottom right corner of the graph.
 
Using the scroll bars, go to the bottom right corner of the graph.
  
 
|-
 
|-
 
|| Hover mouse over corner.
 
|| Hover mouse over corner.
|| click on the small black square on the bottom right corner.
+
|| Double click on the small black square on the bottom right corner.
 +
 
 
You may choose any of the corner squares to resize.
 
You may choose any of the corner squares to resize.
  
Line 142: Line 154:
 
|| Double click and observe.
 
|| Double click and observe.
 
|| Now the graph can be resized.  
 
|| Now the graph can be resized.  
 +
 
The border lines may or may not be visible now.
 
The border lines may or may not be visible now.
  
Line 163: Line 176:
 
|| '''Slide Number 6'''
 
|| '''Slide Number 6'''
 
'''Download File to Practise'''
 
'''Download File to Practise'''
||To plot the graph, download the '''line.txt'''' file
+
||To plot the graph, download the '''line.txt''' file.
 +
 
 
The file is provided in the code files link of this tutorial.
 
The file is provided in the code files link of this tutorial.
Extract the file and save it on the '''Desktop.'''
+
 
 +
Extract the file and save it on the '''Desktop'''.
  
 
|-
 
|-
Line 176: Line 191:
 
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.
This is the data header.
+
 
 +
This is a data header.
  
 
|-
 
|-
Line 183: Line 200:
 
Point to the columns.
 
Point to 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.
 +
 
In this data file values are tab separated.
 
In this data file 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 the data on '''Grace''' interface to plot a graph.  
 
Next, we will load the data on '''Grace''' interface to plot a graph.  
  
Line 195: Line 215:
 
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 an '''XY''' plot.
 
Next, let’s load the data file to make an '''XY''' plot.
  
Line 200: Line 221:
 
|| 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.
A '''Grace: Read sets''' dialogue box opens.
+
 
 +
A '''Grace: Read sets''' dialog box opens.
  
 
|-
 
|-
 
|| Change filter to .txt >> Press '''Enter'''.
 
|| Change filter to .txt >> Press '''Enter'''.
 
Point to the '''* .txt''' files.
 
Point to the '''* .txt''' files.
|| In the '''Filter''' input box change '''*.dat''' to '''*.txt '''and press '''Enter.'''
+
|| In the '''Filter''' input box change '''*.dat''' to '''*.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 '''txt''' extension.
  
 
|-
 
|-
Line 218: Line 241:
 
|-
 
|-
 
|| Select '''load''' set to '''single set'''
 
|| Select '''load''' set to '''single set'''
|| We will keep '''Load '''as '''Single Set. '''
+
|| We will keep '''Load '''as '''Single Set '''.
  
 
|-
 
|-
Line 230: Line 253:
 
|-
 
|-
 
|| 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'''.
 +
 
 
The range of X and Y axes automatically adjusts to lower and higher values of data.
 
The range of X and Y axes automatically adjusts to lower and higher values of data.
  
 
|-
 
|-
 
|| Click on the '''Ok '''button.
 
|| Click on the '''Ok '''button.
|| Click on the '''Ok '''button to load the data.
+
|| Click on the '''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.
  
 
|-
 
|-
Line 251: Line 275:
 
|-
 
|-
 
|| Click on File >> Save.
 
|| Click on File >> Save.
Point to the dialogue box.
+
Point to the dialog box.
 
|| Let us save the file.
 
|| Let us save the file.
 +
 
Click on '''File''' and select '''Save'''.
 
Click on '''File''' and select '''Save'''.
'''Grace:Save project''' dialogue box opens.
+
 
 +
'''Grace:Save project''' dialog box opens.
  
 
|-
 
|-
|| Point to '''*.agr''' extension
+
|| Point to '''*.agr''' extension.
 
|| '''Dot agr''' is the preferred extension for '''grace''' plot.
 
|| '''Dot agr''' is the preferred extension for '''grace''' plot.
  
 
|-
 
|-
 
|| Change directory, to '''Desktop'''.
 
|| Change directory, to '''Desktop'''.
Type file name '''line.agr'''
+
Type file name '''line.agr'''.
 
|| I will choose '''Desktop''' to save the file.
 
|| I will choose '''Desktop''' to save the file.
In the '''Selection''' text box, type file name as '''line.agr'''
+
 
 +
In the '''Selection''' text box, type file name as '''line dot agr'''.
  
 
|-
 
|-
 
|| Click '''OK''' button.
 
|| Click '''OK''' button.
|| Click on the '''OK '''button to save the project.
+
|| Click on the '''OK''' button to save the project.
  
 
|-
 
|-
|| Click on File exit
+
|| Click on File exit.
 
|| To exit Grace, click on '''File, Exit''' or press '''control q''' on keyboard.
 
|| To exit Grace, click on '''File, Exit''' or press '''control q''' on keyboard.
  
Line 302: Line 329:
 
|| '''Slide Number 10'''
 
|| '''Slide Number 10'''
 
'''Spoken Tutorial workshops'''
 
'''Spoken Tutorial workshops'''
|| The '''Spoken Tutorial Project '''team:
+
|| The '''Spoken Tutorial Project''' team:
 
* conducts workshops and
 
* conducts workshops and
 
* gives certificates on passing online tests.
 
* gives certificates on passing online tests.
Line 320: Line 347:
 
'''Forum for specific questions:'''
 
'''Forum for specific questions:'''
 
|| The Spoken Tutorial forum is for specific questions on this tutorial
 
|| The Spoken Tutorial forum is for specific questions on this tutorial
Please do not post unrelated and  
+
 
general questions on them
+
Please do not post unrelated and general questions on them
 +
 
 
This will help reduce the clutter
 
This will help reduce the clutter
 +
 
With less clutter, we can use this discussion as instructional material.
 
With less clutter, we can use this discussion as instructional material.
  
Line 329: Line 358:
 
'''Acknowledgement'''
 
'''Acknowledgement'''
 
|| Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
 
|| Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
 +
 
More information on this mission is available at this link.
 
More information on this mission is available at this link.
  
 
|-
 
|-
 
||  
 
||  
|| This tutorial is contributed by''' Rani'''
+
|| This tutorial is contributed by '''Rani'''
 
Thank you for joining.
 
Thank you for joining.
  
 
|-
 
|-
 
|}
 
|}

Latest revision as of 16:10, 28 October 2020

Visual Cue Narration
Slide Number 1

Title Slide

Welcome to the tutorial on Installation and Introduction to Grace.
Slide Number 2

Learning Objectives

In this tutorial, we will learn to,
  • Install Grace 5.1.25 in Ubuntu Linux 16.04
  • Open Grace interface
  • Resize the graph area
  • Open an XY dataset file

and

  • Make a straight line graph
Slide Number 3

System and Software Requirement

To record this tutorial, I am using
  • Ubuntu Linux OS version 16.04
  • Grace version 5.1.25

and

  • A working internet connection to download Grace.
Slide Number 4

Pre-requisites

To follow this tutorial,

Learners should be familiar with basic computer and Internet skills.

Slide Number 5

Resource link

Let us now install Grace program in Ubuntu Linux OS 16.04.

This is the official website of Grace.

Cursor on Ubuntu Linux Interface. First I will demonstrate to install Grace using the Terminal.
Cursor on Ubuntu Linux interface.

Show the Ubuntu Desktop.

Internet connectivity is required to install the software.
Press the windows key on keyboard Press the windows key on keyboard.
Type terminal in search box.

Press Enter.

Type terminal in the search box that appears and press Enter.
Point to theTerminal. A terminal window opens.
Type sudo apt-get update >> pressEnter At the prompt, type sudo space apt hyphen get space update and press Enter.
Enter sudo password >> press Enter.

Point to installing packages.

If prompted for sudo password, type the password and press Enter.

This step updates the available packages from the Internet sources.

This process takes a few seconds to complete.

Ctrl-L Clear the terminal.
Type sudo apt-get install grace >> press Enter. Next, type sudo space apt-get space install space grace.

Press Enter.

If prompted, enter y

Point to the installation process steps.

This process takes sometime to complete and installs Grace in your computer.
Cursor on the Terminal window. The process may exit without installing grace with lock error.

Then, see the installation sheet for further help.

Ctrl-L Clear the terminal.
At the prompt, type xmgrace >> press Enter.

Point to the Grace window.

To open Grace using the Terminal,

at prompt type xmgrace and press Enter.

Grace window opens.

Click on the X button to close the window. Click on the X button on the top-left corner to close the window.
Cursor on the Ubuntu Linux interface.

Press the windows key on keyboard.

Now I will show how to open Grace using Search your computer option.

Press the windows key on the keyboard.

Type grace in the search box >> Press Enter. In the search box, that appears, type grace and press Enter.

This will open the Grace program.

Point to the graph panel.

Cursor on the graph.

Grace opens with an empty graph panel.

First, we will learn how to resize the graph panel.

Point to the solid squares at the corners.

Drag the scroll bar.

Show bottom right corner or graph panel.

There are four small solid squares at the corners of the graph panel.

Using the scroll bars, go to the bottom right corner of the graph.

Hover mouse over corner. Double click on the small black square on the bottom right corner.

You may choose any of the corner squares to resize.

Double click and observe. Now the graph can be resized.

The border lines may or may not be visible now.

Click and drag the cursor to top left. To resize drag and place the cursor at the desired position.
Left click to fix the plot size. Now left click, to fix the size of the graph panel.
Adjust scroll bar to see full graph panel. I will also adjust the scroll bars to see the full graph panel.
Cursor on the Interface. Now I will show how to plot a graph.
Slide Number 6

Download File to Practise

To plot the graph, download the line.txt file.

The file is provided in the code files link of this tutorial.

Extract the file and save it on the Desktop.

Go to Desktop and show the file. I have already downloaded and saved it on the Desktop.
Double click to open the file.

Point to the # line. 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.

This is a data header.

Hover mouse over the columns.

Point to the columns.

Notice the two column data format.

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

In this data file values are tab separated.

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

Next, we will load the data on Grace interface 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 an XY plot.

Click on Data tab > Import > ASCII Click on Data tab, Import and select ASCII format.

A Grace: Read sets dialog box opens.

Change filter to .txt >> Press Enter.

Point to the * .txt files.

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

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

Change directory to Desktop. From Directories option, select Desktop folder.
Select line.txt file Select the file line.txt.
Select load set to single set We will keep Load as Single Set .
Select Set Type as XY Select Set Type as XY.
Point to 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.

The range of X and Y axes automatically adjusts to lower and higher values of data.

Click on the Ok button. Click on the 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.

Click on File and select Save.

Grace:Save project dialog box opens.

Point to *.agr extension. Dot agr is the preferred extension for grace plot.
Change directory, to Desktop.

Type file name line.agr.

I will choose Desktop to save the file.

In the Selection text box, type file name as line dot agr.

Click OK button. Click on the OK button to save the project.
Click on File exit. To exit Grace, click on File, Exit or press control q on keyboard.
Let us summarize.
Slide Number 7

Summary

In this tutorial, we have,
  • Installed Grace 5.1.25 in Ubuntu Linux 16.04
  • Opened Grace interface
  • Resized the graph area
  • Read an ASCII data set XY and plotted a graph
Slide Number 8

Assignment

For assignment, please do the following.

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

Slide Number 9

Acknowledgement

The video at the following link summarizes the spoken tutorial project.

Please download and watch it.

Slide Number 10

Spoken Tutorial workshops

The Spoken Tutorial Project team:
  • conducts workshops and
  • gives certificates on passing online tests.

Please write to us.

Slide Number 11

Forum for specific questions:

Do you have questions in THIS Spoken Tutorial?
  • Please visit this site
  • Choose the minute and second where you have the question
  • Explain your question briefly
  • Someone from our team will answer them.
Slide Number 12

Forum for specific questions:

The Spoken Tutorial forum is for specific questions on this tutorial

Please do not post unrelated and general questions on them

This will help reduce the clutter

With less clutter, we can use this discussion as instructional material.

Slide Number 13

Acknowledgement

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

More information on this mission is available at this link.

This tutorial is contributed by Rani

Thank you for joining.

Contributors and Content Editors

Madhurig, PoojaMoolya, Ranipv076