traj

cfplot.traj(f=None, title=None, ptype=0, linestyle='-', linewidth=1.0, linecolor='b', marker='o', markevery=1, markersize=5.0, markerfacecolor='r', markeredgecolor='g', markeredgewidth=1.0, latmax=None, latmin=None, axes=True, xaxis=True, yaxis=True, verbose=None, legend=False, legend_lines=False, xlabel=None, ylabel=None, xticks=None, yticks=None, xticklabels=None, yticklabels=None, colorbar=None, colorbar_position=None, colorbar_orientation='horizontal', colorbar_title=None, colorbar_text_up_down=False, colorbar_text_down_up=False, colorbar_drawedges=True, colorbar_fraction=None, colorbar_thick=None, colorbar_anchor=None, colorbar_shrink=None, colorbar_labels=None, vector=False, head_width=0.4, head_length=1.0, fc='k', ec='k', zorder=None)[source]
traj is the interface to trajectory plotting in cf-plot.
The minimum use is traj(f) where f is a CF field.

f - CF data used to make a line plot
linestyle='-' - line style
linecolor='b' - line colour
linewidth=1.0 - line width
marker='o' - marker for points along the line
markersize=30 - size of the marker
markerfacecolor='b' - colour of the marker face
markeredgecolor='g' - colour of the marker edge
legend=False - plot different colour markers based on a set of user levels
zorder=None - order for plotting
verbose=None - Set to True to get a verbose listing of what traj is doing

The following parameters override any CF data defaults:
title=None - plot title
axes=True - plot x and y axes
xaxis=True - plot xaxis
yaxis=True - plot y axis
xlabel=None - x name
ylabel=None - y name
xticks=None - x ticks
xticklabels=None - x tick labels
yticks=None - y ticks
yticklabels=None - y tick labels
colorbar=None - plot a colorbar
colorbar_position=None - position of colorbar
[xmin, ymin, x_extent,y_extent] in normalised
coordinates. Use when a common colorbar
is required for a set of plots. A typical set
of values would be [0.1, 0.05, 0.8, 0.02]
colorbar_orientation=None - orientation of the colorbar
colorbar_title=None - title for the colorbar
colorbar_text_up_down=False - if True horizontal colour bar labels alternate
above (start) and below the colour bar
colorbar_text_down_up=False - if True horizontal colour bar labels alternate
below (start) and above the colour bar
colorbar_drawedges=True - draw internal divisions in the colorbar
colorbar_fraction=None - space for the colorbar - default = 0.21, in normalised
coordinates
colorbar_thick=None - thickness of the colorbar - default = 0.015, in normalised
coordinates
colorbar_anchor=None - default=0.5 - anchor point of colorbar within the fraction space.
0.0 = close to plot, 1.0 = further away
colorbar_shrink=None - value to shrink the colorbar by. If the colorbar
exceeds the plot area then values of 1.0, 0.55
or 0.5m ay help it better fit the plot area.
colorbar_labels=None - labels for the colorbar. Default is to use the levels defined
using cfp.levs
Vector options
vector=False - Draw vectors
head_width=2.0 - vector head width
head_length=2.0 - vector head length
fc='k' - vector face colour
ec='k' - vector edge colour