module_assesment_plotting_exp_data.rst
author Anoop Jacob Thomas<anoop@fossee.in>
Sun, 07 Nov 2010 16:56:37 +0530
changeset 397 4aea9ed09983
parent 154 0094e5b93fe6
permissions -rw-r--r--
made changes to matrix questions.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
154
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     1
Hello friends.
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     2
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     3
This tutorial is a self-assessment tutorial and you will be able to assess 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     4
yourself on the concepts learnt in the Module "Plotting Expetimental data"
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     5
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     6
As with all other assessments we will first start with a few short questions 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     7
that will not take you more that 15 to 20 seconds to answer. Then we shall move
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     8
on to a bigger problems that should take you about 5 mins.
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
     9
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    10
{{{ Always show slide and explain the problem }}} 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    11
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    12
 * What is the shape of plot resulting from the following piece of code::
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    13
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    14
       x = linspace(0, 2*pi, 4)
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    15
       plot(x, sin(x))
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    16
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    17
 * #[Nishanth]: Hav to add a simple question on scatter plot
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    18
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    19
 * #[Nishanth]: Hav to add a simple question on pie chart
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    20
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    21
 * Input file contains 25 lines of data, each containing 5 values seperated by
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    22
   spaces. What is the shape of the resulting matrix from the command::
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    23
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    24
       loadtxt("input-file.txt", unpack=True)
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    25
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    26
{{{ Big problem - 5 mins }}} 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    27
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    28
The input file ``pos.txt`` contains two columns of data. The first column 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    29
contains x position and second column contains y position of a particle in
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    30
flight. Plot the trajectory of the particle. What kind of motion is it? 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    31
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    32
.. Author              : Nishanth
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    33
   Internal Reviewer 1 : 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    34
   Internal Reviewer 2 : 
0094e5b93fe6 initial commit assesment-ploting_exp_data
nishanth
parents:
diff changeset
    35
   External Reviewer   :