geometric dev
  • Install
  • Gallery
  • Tutorial
  • API
  • Contribute

Some gallery plotΒΆ

This is a sample gallery plot.

../_images/sphx_glr_some_plot_001.png

Out:

10

import matplotlib.pyplot as plt
import numpy as np

from geometric import Sphere


sphere = Sphere(center=[1, 2, 3], radius=10, density=10)
print(sphere.density)

x = np.linspace(0, 100, 100)
y = np.sin(x) + 10

plt.figure()
plt.plot(x, y)
plt.tight_layout()
plt.show()

Total running time of the script: ( 0 minutes 0.214 seconds)

Download Python source code: some_plot.py
Download Jupyter notebook: some_plot.ipynb

Generated by Sphinx-Gallery

Back to top

Source

© Copyright 2017, Leonardo Uieda. Created using Sphinx 1.6.3.