module_assesment_plotting_exp_data.rst
author Puneeth Chaganti <punchagan@fossee.in>
Wed, 06 Oct 2010 19:32:18 +0530
changeset 240 f4c36aa38a84
parent 154 0094e5b93fe6
permissions -rw-r--r--
Cleaned up the script of advanced features of functions LO.

Hello friends.

This tutorial is a self-assessment tutorial and you will be able to assess 
yourself on the concepts learnt in the Module "Plotting Expetimental data"

As with all other assessments we will first start with a few short questions 
that will not take you more that 15 to 20 seconds to answer. Then we shall move
on to a bigger problems that should take you about 5 mins.

{{{ Always show slide and explain the problem }}} 

 * What is the shape of plot resulting from the following piece of code::

       x = linspace(0, 2*pi, 4)
       plot(x, sin(x))

 * #[Nishanth]: Hav to add a simple question on scatter plot

 * #[Nishanth]: Hav to add a simple question on pie chart

 * Input file contains 25 lines of data, each containing 5 values seperated by
   spaces. What is the shape of the resulting matrix from the command::

       loadtxt("input-file.txt", unpack=True)

{{{ Big problem - 5 mins }}} 

The input file ``pos.txt`` contains two columns of data. The first column 
contains x position and second column contains y position of a particle in
flight. Plot the trajectory of the particle. What kind of motion is it? 

.. Author              : Nishanth
   Internal Reviewer 1 : 
   Internal Reviewer 2 : 
   External Reviewer   :