Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168737
Image: ubuntu2004
\int\limits_0^1f(x)dx
import numpy import pylab t = numpy.arange(0.0, 1.0, 0.01) s = numpy.cos(2*2*numpy.pi*t) z = numpy.sin(2*2*numpy.pi*t) pylab.plot(t, s, 'ro-', t, z, 'bx-') pylab.xlabel('time (s)') pylab.ylabel('voltage (mV)') pylab.title('About as simple as it gets, folks') pylab.grid(True) pylab.savefig('simple_plot') pylab.legend(('sin','cos')) #pylab.show()