Below is a table of all examples by name with a brief note on what
the example shows. Detailed information is contained in the example
source which can be accessed by clicking on the example name.
| Name | Description
|
|
bar1.py
|
Illustrates how to draw bar charts.
|
|
bar2.py
|
Illustrates how to draw a bar chart with a legend.
|
|
chkbay.py
|
Draws contours on a triangular mesh.
|
|
clmdiv.py
|
Draws U.S. geographic climate divisions as polygonal areas.
|
|
clmdiv1.py
|
Draws U.S. geographic climate divisions as polygonal areas.
|
|
clmdiv2.py
|
Draws U.S. geographic climate divisions colored by third field.
|
|
cn01p.py
|
Draws a simple contour using all defaults.
|
|
cn02p.py
|
Draws a simple color filled contour.
|
|
cn05p.py
|
Draws an animation of global surface temperature over a map.
|
|
cn12p.py
|
Draws a color filled contour map over Africa.
|
|
cns01p.py
|
Draws contours using dashed lines and user-specified labels.
|
|
coast1.py
|
Draws the same map three times, showing the different resolutions
|
|
color1.py
|
Draws all colors in user specified color maps.
|
|
color2.py
|
Illustrates how to use named colors.
|
|
color3.py
|
Draws HSV color wedges and tests color conversion functions.
|
|
color4.py
|
Draws sixteen sample color boxs with RGB labels.
|
|
color5.py
|
Draws a Mandelbrot set.
|
|
contour1.py
|
Illustrates converting to a log axis.
|
|
contour2.py
|
Illustrates how to fill a contour plot with colors and patterns.
|
|
contour3.py
|
Illustrates drawing dashed negative contours and pointing tickmarks out.
|
|
contour_xyz.py
|
Illustrates contouring randomly-spaced data.
|
|
ctnccl.py
|
Draws contours on a triangular mesh.
|
|
datatondc1.py
|
Illustrates converting data coordinates to NDC coordinates.
|
|
gaus.py
|
Illustrates usage of the gaus function.
|
|
geodesic.py
|
Draws colored contours on a map using a geodesic grid.
|
|
irregular.py
|
Shows how to make irregular axes plot on a linear or log scale and
|
|
labelbar.py
|
Demonstrates labelbars and labelbar resource settings.
|
|
legend.py
|
Demonstrates legends and legend resource settings.
|
|
map1.py
|
Illustrates how to change a map's aspect ratio.
|
|
map2.py
|
Illustrates how to to draw polygons, lines, and markers on a map.
|
|
meteogram.py
|
Draws a meteogram.
|
|
multi_plot.py
|
Illustrates drawing different plots on one page.
|
|
multi_y.py
|
Shows how to conflate two XY plots and how to add and remove annotations.
|
|
natgrid1.py
|
Simple example showing natgrid, nnsetp, and nngetp usage.
|
|
ndc_grid.py
|
Illustrates how to draw primitives and text using NDC coordinates.
|
|
ngl01p.py
|
Introductory tutorial example using resources for XY plots.
|
|
ngl02p.py
|
Draws a sequence of contour visualizations from simple to more complex.
|
|
ngl03p.py
|
Vector visualizations from simple to complex.
|
|
ngl04p.py
|
Streamline visualizations.
|
|
ngl05p.py
|
Draws contours over maps.
|
|
ngl06p.py
|
Draws vectors over maps.
|
|
ngl07p.py
|
Uses spline interpolation and draws two XY plots on the same frame.
|
|
ngl08p.py
|
Does a 2D interpolation for a colored contour and an XY plot.
|
|
ngl09p.py
|
Illustrates Animation of contours over a map and using masked arrays.
|
|
ngl10p.py
|
Produces a publication XY plot.
|
|
ngl11p.py
|
Produces a contour plot with separate scales and an XY plot.
|
|
nio01.py
|
Shows how to use Nio to create a NetCDF file and then to read it.
|
|
nio02.py
|
Demonstrates PyNIO docstrings
|
|
nio03.py
|
Demonstrates PyNIO reading GRIB/ writing NetCDF
|
|
nio04.py
|
Shows how to use Nio to open an existing NetCDF file and append
|
|
overlay1.py
|
Shows how to overlay multiple plots on one plot and then remove them.
|
|
panel1.py
|
Illustrates how to draw several visualizations on a single frame.
|
|
panel2.py
|
Illustrates how to draw three visualizations on a single frame.
|
|
scatter1.py
|
Draws a scatter visualization using polymarkers.
|
|
scatter2.py
|
Draws random markers using user-defined markers.
|
|
seam.py
|
Illustrates contouring on the non-rectangular SEAM grid.
|
|
skewt1.py
|
Draws three skew-T background plots.
|
|
skewt2.py
|
Draws skew-T visualizations using dummy data.
|
|
skewt3.py
|
Draws two skew-T plots using real data.
|
|
spaghetti.py
|
Illustrates generating one contour per time step to
|
|
stream_scalar.py
|
Draws streamlines over contours and colored by a scalar field.
|
|
streamline.py
|
Draws streamlines on a map over water only.
|
|
thickness.py
|
Draws polylines using various line thicknesses.
|
|
topo1.py
|
Draws a topographic map of southern Colorado.
|
|
traj1.py
|
Draws lines and polymarkers over a map to trace the paths of bouys.
|
|
vector_pop.py
|
Shows how to plot vectors on a POP grid with land masked.
|
|
vinth2p.py
|
Illustrates a call to the vinth2p function.
|
|
wmbarb.py
|
Draws four different wind barbs at different positions.
|
|
wmbarbmap.py
|
Draws several wind barbs over a map.
|
|
wmstnm01.py
|
Illustrates plotting station model data.
|
|
wmstnm02.py
|
Illustrates plotting station model data and wind barbs.
|
|
wmstnm03.py
|
Illustrates plotting station model data over a map.
|
|
xy1.py
|
Illustrates how to change the X and Y axes from linear to log.
|
|
xy2.py
|
Illustrates how to add primitives and text to an XY plot.
|