154
|
1 |
Hello friends.
|
|
2 |
|
|
3 |
This tutorial is a self-assessment tutorial and you will be able to assess
|
|
4 |
yourself on the concepts learnt in the Module "Plotting Expetimental data"
|
|
5 |
|
|
6 |
As with all other assessments we will first start with a few short questions
|
|
7 |
that will not take you more that 15 to 20 seconds to answer. Then we shall move
|
|
8 |
on to a bigger problems that should take you about 5 mins.
|
|
9 |
|
|
10 |
{{{ Always show slide and explain the problem }}}
|
|
11 |
|
|
12 |
* What is the shape of plot resulting from the following piece of code::
|
|
13 |
|
|
14 |
x = linspace(0, 2*pi, 4)
|
|
15 |
plot(x, sin(x))
|
|
16 |
|
|
17 |
* #[Nishanth]: Hav to add a simple question on scatter plot
|
|
18 |
|
|
19 |
* #[Nishanth]: Hav to add a simple question on pie chart
|
|
20 |
|
|
21 |
* Input file contains 25 lines of data, each containing 5 values seperated by
|
|
22 |
spaces. What is the shape of the resulting matrix from the command::
|
|
23 |
|
|
24 |
loadtxt("input-file.txt", unpack=True)
|
|
25 |
|
|
26 |
{{{ Big problem - 5 mins }}}
|
|
27 |
|
|
28 |
The input file ``pos.txt`` contains two columns of data. The first column
|
|
29 |
contains x position and second column contains y position of a particle in
|
|
30 |
flight. Plot the trajectory of the particle. What kind of motion is it?
|
|
31 |
|
|
32 |
.. Author : Nishanth
|
|
33 |
Internal Reviewer 1 :
|
|
34 |
Internal Reviewer 2 :
|
|
35 |
External Reviewer :
|