<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import numpy, Ngl                  # Import needed modules

x = numpy.array(range(0,101))
y = numpy.sin(0.0628*x)            # Generate a curve with 101 points.

wks = Ngl.open_wks("x11","xy_ex")  # Open an X11 window

plot = Ngl.y(wks,y)                # Call the function for drawing the
                                   # curve. No plot options are set.
Ngl.end()

</pre></body></html>