diff options
author | Jovina | 2011-05-18 17:58:52 +0530 |
---|---|---|
committer | Jovina | 2011-05-18 17:58:52 +0530 |
commit | 7b76610f424859f9a53cb6662ce0dd9e5a4b4a28 (patch) | |
tree | 236c59e8c5539ce3a9d10af852e35f05e4f07fbe /embellishing_a_plot/script.rst | |
parent | 6b8c5af7587ea9f95ac0c80222039a9fb418ee6a (diff) | |
download | st-scripts-7b76610f424859f9a53cb6662ce0dd9e5a4b4a28.tar.gz st-scripts-7b76610f424859f9a53cb6662ce0dd9e5a4b4a28.tar.bz2 st-scripts-7b76610f424859f9a53cb6662ce0dd9e5a4b4a28.zip |
Minor changes to first 3 scripts
Diffstat (limited to 'embellishing_a_plot/script.rst')
-rw-r--r-- | embellishing_a_plot/script.rst | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/embellishing_a_plot/script.rst b/embellishing_a_plot/script.rst index a69c60f..c6729e5 100644 --- a/embellishing_a_plot/script.rst +++ b/embellishing_a_plot/script.rst @@ -130,12 +130,12 @@ Plot sin(x) in blue color along with linewidth as 3. {{{ Show slide with Question1 }}} .. R10 - +Switch to terminal for solution A combination of color and linewidth would do the job for us. .. L10 -{{{ Switch to terminal }}} +{{{ Switch to terminal}}} :: clf() @@ -199,6 +199,7 @@ Pause the video and do this exercise and then resume the video. .. R16 +Switch to terminal for solution. We use a combination of linestyle and color. .. L16 @@ -221,6 +222,7 @@ Plot the curve of x vs tan(x) in red dash line and linewidth 3. .. R18 +Switch to terminal for solution. Here we shall use a combination of linewidth argument and linestyle. .. L18 @@ -307,6 +309,7 @@ in LaTeX style. .. R25 +Switch to terminal for solution. The solution is to enclose the whole string in between $. .. L25 @@ -368,6 +371,8 @@ in between two $. .. R30 +Switch to terminal for solution. + .. L31 {{{ Show the plot window with clean labels }}} @@ -420,6 +425,7 @@ What happens to the first annotation ? .. R34 +Switch to the terminal for the solution. As we can see, every annotate command makes a new annotation on the figure. Now we have everything we need to decorate a plot, but the plot would be @@ -474,6 +480,7 @@ rectangle (-1, -15) and (3, 0) .. R39 +Switch to the terminal for the solution. As we can see, the lower and upper limits of x-axis in the question are -1 and 3 respectively. The lower and upper limits of y-axis are -15 and 0 respectively. |