diff options
author | Anoop Jacob Thomas | 2010-12-18 12:54:49 +0530 |
---|---|---|
committer | Anoop Jacob Thomas | 2010-12-18 12:54:49 +0530 |
commit | 8237dcc199da39222a5ad230506a67612c8f42bb (patch) | |
tree | 10d36ba208a172cd9415c92b7f76adc1b432f020 /embellishing_a_plot/script.rst | |
parent | 9ef42a846bf92217dcca5aa3ae084e6dc9470b82 (diff) | |
download | st-scripts-8237dcc199da39222a5ad230506a67612c8f42bb.tar.gz st-scripts-8237dcc199da39222a5ad230506a67612c8f42bb.tar.bz2 st-scripts-8237dcc199da39222a5ad230506a67612c8f42bb.zip |
Made some changes to the script embellishing a plot, but it still needs changes.
Diffstat (limited to 'embellishing_a_plot/script.rst')
-rw-r--r-- | embellishing_a_plot/script.rst | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/embellishing_a_plot/script.rst b/embellishing_a_plot/script.rst index 4269022..2ccdba6 100644 --- a/embellishing_a_plot/script.rst +++ b/embellishing_a_plot/script.rst @@ -67,12 +67,14 @@ arguments to the plot command. .. #[[Anoop: I think it will be good to rephrase the sentence]] .. #[madhu: Why "you" here? Shouldn't this be "we" as decided? Also I added "the default" check the diff] + The additional argument that we shall be passing in here now is the colour argument. We shall first clear the figure and plot the same in red colour. Hence .. #[Madhu: Note the diff for changes] - :: + +:: clf() plot(x, sin(x), 'r') @@ -81,9 +83,8 @@ As we can see we have the same plot but now in red colour. .. #[Madhu: diff again] -To alter the thickness of the line, we use the ``linewidth`` argument in the plot -command. Hence -:: +To alter the thickness of the line, we use the ``linewidth`` argument +in the plot command. Hence :: plot(x, cos(x), linewidth=2) @@ -96,7 +97,7 @@ thickness 2. {{{ Show the plot and compare the sine and cos plots }}} -{{{ Pause here and try out the following exercises }}} +Pause here and try out the following exercises, .. #[[Anoop: is the above a context switch for the person who does the recording, other wise if it an instruction to the person viewing @@ -153,7 +154,7 @@ Other available options can be seen in the documentation of plot. .. #[Madhu: The script needs to tell what needs to be shown or explained.] -{{{ Pause here and try out the following exercises }}} +Pause here and try out the following exercises .. #[[Anoop: same question as above, should it be read out?]] @@ -244,8 +245,9 @@ The solution is to enclose the whole string in between $. Hence, :: title("Parabolic function $-x^2+4x-5$") -#[[Bhanu: Dollar sign should enclose only the math-expression. change -made.]] + +.. #[[Bhanu: Dollar sign should enclose only the math-expression. change + made.]] gives a title that looks neatly formatted. |