Difference between revisions of "Grace/C2/Installation-and-Introduction-to-Grace/English"
PoojaMoolya (Talk | contribs) |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|| '''Slide Number 1''' | || '''Slide Number 1''' | ||
'''Title Slide''' | '''Title Slide''' | ||
− | ||'''Installation and Introduction to Grace | + | ||Welcome to the tutorial on '''Installation and Introduction to Grace'''. |
|- | |- | ||
Line 15: | Line 15: | ||
* Open Grace interface | * Open Grace interface | ||
* Resize the graph area | * Resize the graph area | ||
− | * Open an XY dataset file | + | * Open an XY dataset file |
+ | and | ||
* Make a straight line graph | * Make a straight line graph | ||
Line 24: | Line 25: | ||
* Ubuntu Linux OS version 16.04 | * Ubuntu Linux OS version 16.04 | ||
* Grace version 5.1.25 | * Grace version 5.1.25 | ||
− | * A working internet connection to download '''Grace | + | and |
+ | * A working internet connection to download '''Grace'''. | ||
|- | |- | ||
Line 36: | 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 | + | || First I will demonstrate to install '''Grace''' using the '''Terminal'''. |
|- | |- | ||
− | || Cursor on Ubuntu | + | || Cursor on '''Ubuntu Linux''' interface. |
+ | |||
Show the '''Ubuntu Desktop'''. | Show the '''Ubuntu Desktop'''. | ||
− | || | + | || Internet connectivity is required to install the software. |
− | Internet connectivity is required to install the software. | + | |
|- | |- | ||
Line 53: | Line 56: | ||
|- | |- | ||
− | || Type '''terminal''' in search | + | || Type '''terminal''' in search box. |
− | + | Press '''Enter'''. | |
− | || Type terminal in search box that appears and press '''Enter'''. | + | || Type terminal in the search box that appears and press '''Enter'''. |
|- | |- | ||
Line 62: | 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 ''' | + | |
|- | |- | ||
− | || 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. | ||
|- | |- | ||
− | || Type '''sudo apt-get install grace >> | + | ||Ctrl-L |
− | press''' Enter | + | ||Clear the terminal. |
− | || Next, type''' sudo space apt-get space install space grace | + | |
− | Press''' Enter | + | |- |
+ | || Type '''sudo apt-get install grace >> press ''' Enter'''. | ||
+ | || Next, type '''sudo space apt-get space install space grace'''. | ||
+ | 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 | + | || 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 | ||
+ | |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 | + | || 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 101: | Line 116: | ||
|- | |- | ||
− | || Cursor on the Ubuntu | + | || 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 ''' | + | || 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 115: | 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 132: | 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 153: | 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 166: | 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 | + | |
+ | This is a data header. | ||
|- | |- | ||
Line 173: | 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 185: | 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 190: | 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''' | + | |
+ | 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 | + | |
+ | This will show the list of directories and files containing '''txt''' extension. | ||
|- | |- | ||
Line 208: | 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 215: | Line 248: | ||
|- | |- | ||
− | || Point to''' Data Source''' as '''Disk''' | + | || Point to '''Data Source''' as '''Disk''' |
|| By default, '''Data Source''' is set to '''Disk'''. | || By default, '''Data Source''' is set to '''Disk'''. | ||
|- | |- | ||
|| 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 | + | || Click on '''Cancel''' to close the dialog box. |
|- | |- | ||
Line 241: | Line 275: | ||
|- | |- | ||
|| Click on File >> Save. | || Click on File >> Save. | ||
− | Point to the | + | 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''' | + | |
+ | '''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 | + | |
+ | 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 292: | 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 310: | 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 319: | 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,
and
|
Slide Number 3
System and Software Requirement |
To record this tutorial, I am using
and
|
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,
|
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:
Please write to us. |
Slide Number 11
Forum for specific questions: |
Do you have questions in THIS Spoken Tutorial?
|
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. |