diff options
author | Jovina | 2011-05-18 16:39:23 +0530 |
---|---|---|
committer | Jovina | 2011-05-18 16:39:23 +0530 |
commit | 819852954661fd34144e2d606d292481c607a0b9 (patch) | |
tree | f0797683126a9b1c8376d168df82f3ff8d78934c /using_plot_interactively/slides.org | |
parent | 8d4d17754e1a8779f8cb0648cddba0ebcb37a72e (diff) | |
download | st-scripts-819852954661fd34144e2d606d292481c607a0b9.tar.gz st-scripts-819852954661fd34144e2d606d292481c607a0b9.tar.bz2 st-scripts-819852954661fd34144e2d606d292481c607a0b9.zip |
Minor changes to 1st three scripts.
Diffstat (limited to 'using_plot_interactively/slides.org')
-rw-r--r-- | using_plot_interactively/slides.org | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/using_plot_interactively/slides.org b/using_plot_interactively/slides.org index 2d02d13..0d32b59 100644 --- a/using_plot_interactively/slides.org +++ b/using_plot_interactively/slides.org @@ -66,7 +66,7 @@ - Back and Forward Button - Home -* Question1 +* Question 1 Plot (sin(x)*sin(x))/x. 1. Save the plot by the sinsquarebyx.pdf in pdf format. 2. Zoom and find the maxima. @@ -89,11 +89,16 @@ * Evaluation 1. Create 100 equally spaced points between -pi/2 and pi/2? - 2. How do you clear a figure in ipython? - 3. How do find the length of a sequen + 2. What will the command ''linspace(-pi,pi,100)'' do. + - returns 100 evenly spaced samples from -pi to pi + - returns 100 evenly spaced samples from -pi to pi excluding pi but including -pi + - returns 100 evenly spaced samples from -pi to pi excluding -pi but including pi + - returns 100 evenly spaced samples from -pi to pi including both -pi and pi + 3. How do find the length of a sequence. * Solutions... 1. linspace(-pi/2,pi/2,100) - 2. clf() + 2. +returns 100 evenly spaced samples from -pi to pi including both -pi and pi 3. len(sequence\_name) * #+begin_latex |