# Examples from pyvista.plotting.charts.LinePlot2D
# ================================================

# Create a 2D chart plotting an approximate satellite
# trajectory.
import pyvista as pv
from pyvista import examples
import numpy as np
chart = pv.Chart2D()
x = np.linspace(0, 1, 100)
y = np.sin(6.5 * x - 1)
_ = chart.line(x, y, color='y', width=4)
chart.background_texture = examples.load_globe_texture()
chart.hide_axes()
chart.show()

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

