⇤ ← Revision 1 as of 2010-12-17 10:53:43
582
Comment:
|
← Revision 2 as of 2010-12-17 11:08:17 ⇥
577
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
x = sp.linspace(0, 2*sp.pi, 100) | x = sp.linspace(0, 2*sp.pi) |
Book
Getting started with MATLAB
Author
Rudra Pratap
Edition
reset() import scipy as sp import matplotlib.pyplot as mpl_pp x = sp.linspace(0, 2*sp.pi) mpl_pp.plot(x,sin(x)) mpl_pp.plot(x,sin(x),'o') mpl_pp.xlabel('x'), mpl_pp.ylabel('sin(x)') mpl_pp.savefig('doublesin.png')
Solution by:
- T R Shyam Sundar, Student, CMI
- Sonam Kumar, Student, CMI
- Vignesh Ganapathiraman, Student, CMI
- Pooja Kalra, Student, Malwa Institute of Technology