embellishing_a_plot.rst
changeset 190 6dcc77582e26
parent 173 24289d3a4fdb
child 191 08b2cb94c57c
equal deleted inserted replaced
189:50c7c1fe847a 190:6dcc77582e26
    15 
    15 
    16 ::
    16 ::
    17 
    17 
    18     ipython -pylab
    18     ipython -pylab
    19 
    19 
    20 #[madhu: I feel the instructions should precede the actual action,
    20 .. #[madhu: I feel the instructions should precede the actual action,
    21 since while recording we need to know before hand what we need to do]
    21 since while recording we need to know before hand what we need to do]
    22 
    22 
    23 We shall first make a simple plot and start decorating it.
    23 We shall first make a simple plot and start decorating it.
    24 
    24 
    25 .. #[madhu: start decorating it should be fine, with is not necessary]
    25 .. #[madhu: start decorating it should be fine, with is not necessary]
    88 
    88 
    89 .. #[[Anoop: add clf()]]
    89 .. #[[Anoop: add clf()]]
    90 
    90 
    91 produces the required plot
    91 produces the required plot
    92 
    92 
    93 #[Nishanth]: I could not think of a SIMPLE recipe approach for
    93 .. #[Nishanth]: I could not think of a SIMPLE recipe approach for
    94              introducing linestyle. Hence the naive approach.
    94              introducing linestyle. Hence the naive approach.
    95 
    95 
    96 .. #[[Anoop: I guess the recipe is fine, but would be better if you
    96 .. #[[Anoop: I guess the recipe is fine, but would be better if you
    97    add the problem statement rather than just saying "let's do a simple
    97    add the problem statement rather than just saying "let's do a simple
    98    plot"]]
    98    plot"]]
   192 
   192 
   193     title("Parabolic function $-x^2+4x-5$")
   193     title("Parabolic function $-x^2+4x-5$")
   194 
   194 
   195 and we get the polynomial formatted properly.
   195 and we get the polynomial formatted properly.
   196 
   196 
   197 #[Nishanth]: Unsure if I have to give this exercise since enclosing the whole
   197 .. #[Nishanth]: Unsure if I have to give this exercise since enclosing the whole
   198              string in LaTex style is not good
   198              string in LaTex style is not good
   199 
   199 
   200 .. #[[Anoop: I guess you can go ahead with the LaTex thing, it's
   200 .. #[[Anoop: I guess you can go ahead with the LaTex thing, it's
   201      cool!]]
   201      cool!]]
   202 .. #[Madhu: Instead of saying LaTeX style you can say Typeset math
   202 .. #[Madhu: Instead of saying LaTeX style you can say Typeset math
   293  * How to label x and y axes
   293  * How to label x and y axes
   294  * How to add annotations
   294  * How to add annotations
   295 
   295 
   296 {{{ Show the "sponsored by FOSSEE" slide }}}
   296 {{{ Show the "sponsored by FOSSEE" slide }}}
   297 
   297 
   298 #[Nishanth]: Will add this line after all of us fix on one.
   298 .. #[Nishanth]: Will add this line after all of us fix on one.
   299 This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India
   299 This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India
   300 
   300 
   301 Hope you have enjoyed and found it useful.
   301 Hope you have enjoyed and found it useful.
   302 Thankyou
   302 Thankyou
   303  
   303