Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Draw Math Curve with Python Engine
How to Draw a Math Curve with Python Engine?
✍: FYIcenter.com
If you want to draw a math curve quickly,
you can use the Classic Jupyter Server provided on jupyter.org
as show in this tutorial.
1. Follow the previous tutorial to start the Classic Jupyter Server at jupyter.org.
2. Click "File > New Notebook > Python 3" menu. You see a new notebook opened.
3. Click "+" icon to insert a new cell in notebook. And enter the following Python code to import "numpy" and "matplotlib" libraries.
import numpy as np import matplotlib.pyplot as plt
4. Click "Run" icon to execute the code. You see no output.
5. Click "+" icon to insert another new cell in notebook. And enter the following Python code to draw a section of a Log curve.
x = np.arange(0.1, 5, 0.1) y = np.log(x) plt.plot(x, y) plt.show()
6. Click "Run" icon to execute the code. You see an image of the Log curve generated.
⇒ Installing and Running Jupyter
⇐ Public Jupyter Server with Python Engine
2021-12-23, 1441🔥, 0💬
Popular Posts:
How do I tell what version of Outlook my computer is using? You can determine the version number of ...
Why I am getting the "Account Frozen" message when login to OneDrive? If you have not used your free...
How to unzip an XPS (XML Paper Specification, .xps) file? According to Microsoft documentation, an ....
How to download Google Chrome 31? I heard it has some really nice features for Web developers. If yo...
Why am I getting the "Spawn Failed: Server at http://127.0.0.1:47353/u ser/fyicenter/didn't respond ...