embellishing_a_plot.rst
changeset 198 e1b4d3199d94
parent 193 0d175627e828
child 214 8b08fc88d5a0
--- a/embellishing_a_plot.rst	Wed Sep 22 23:09:28 2010 +0530
+++ b/embellishing_a_plot.rst	Thu Sep 23 12:15:27 2010 +0530
@@ -17,7 +17,8 @@
 
     ipython -pylab
 
-#[madhu: I feel the instructions should precede the actual action,
+.. #[madhu: I feel the instructions should precede the actual action,
+
 since while recording we need to know before hand what we need to do]
 
 We shall first make a simple plot and start decorating it.
@@ -55,7 +56,7 @@
 
 .. #[Madhu: diff again]
 
-To alter the thickness of the line, we use the =linewidth= argument in the plot
+To alter the thickness of the line, we use the ``linewidth`` argument in the plot
 command. Hence
 ::
 
@@ -90,7 +91,7 @@
 
 produces the required plot
 
-#[Nishanth]: I could not think of a SIMPLE recipe approach for
+.. #[Nishanth]: I could not think of a SIMPLE recipe approach for
              introducing linestyle. Hence the naive approach.
 
 .. #[[Anoop: I guess the recipe is fine, but would be better if you
@@ -167,7 +168,7 @@
 
 .. #[Madhu: Added "not". See the diff]
 
-We will now add a title to the plot by using the =title= command.
+We will now add a title to the plot by using the ``title`` command.
 ::
 
     title("Parabolic function -x^2+4x-5") 
@@ -175,7 +176,7 @@
 {{{ Show the plot window and point to the title }}}
 
 The figure now has a title which describes what the plot is. The
-=title= command as you can see, takes a string as an argument and sets
+``title`` command as you can see, takes a string as an argument and sets
 the title accordingly.
 
 .. #[Madhu: See the diff]
@@ -194,7 +195,7 @@
 
 and we get the polynomial formatted properly.
 
-#[Nishanth]: Unsure if I have to give this exercise since enclosing the whole
+.. #[Nishanth]: Unsure if I have to give this exercise since enclosing the whole
              string in LaTex style is not good
 
 .. #[[Anoop: I guess you can go ahead with the LaTex thing, it's
@@ -224,8 +225,8 @@
 
 {{{ Switch to plot window and show the xlabel }}}
 
-As you can see, =xlabel= command takes a string as an argument,
-similar to the =title= command and sets it as the label to x-axis.
+As you can see, ``xlabel`` command takes a string as an argument,
+similar to the ``title`` command and sets it as the label to x-axis.
 
 .. #[See the diff]
 
@@ -264,7 +265,7 @@
 
 {{{ Show the annotation that has appeared on the plot }}}
 
-As you can see, the first argument to =annotate= command is the name we would
+As you can see, the first argument to ``annotate`` command is the name we would
 like to mark the point as and the second argument is the co-ordinates of the
 point at which the name should appear. It is a sequence containing two numbers.
 The first is x co-ordinate and second is y co-ordinate.
@@ -295,7 +296,8 @@
 
 {{{ Show the "sponsored by FOSSEE" slide }}}
 
-#[Nishanth]: Will add this line after all of us fix on one.
+.. #[Nishanth]: Will add this line after all of us fix on one.
+
 This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India
 
 Hope you have enjoyed and found it useful.