psyplot.project.plot.density

plot.density(*args, **kwargs)

Make a density plot of point data

This plotting method adds data arrays and plots them via psy_simple.plotters.DensityPlotter plotters

To plot data from a netCDF file type:

>>> psy.plot.density(filename, name=['my_variable'], ...)

Possible formatoptions are

axiscolor

background

bins

bounds

cbar

cbarspacing

clabel

clabelprops

clabelsize

clabelweight

cmap

coord

cticklabels

ctickprops

cticks

cticksize

ctickweight

datagrid

density

extend

figtitle

figtitleprops

figtitlesize

figtitleweight

grid

interp_bounds

labelprops

labelsize

labelweight

levels

mask

mask_datagrid

maskbetween

maskgeq

maskgreater

maskleq

maskless

miss_color

normed

plot

post

post_timing

precision

sym_lims

text

ticksize

tickweight

tight

title

titleprops

titlesize

titleweight

transpose

xlabel

xlim

xrange

xrotation

xticklabels

xtickprops

xticks

ylabel

ylim

yrange

yrotation

yticklabels

ytickprops

yticks

Examples

To explore the formatoptions and their documentations, use the keys, summaries and docs methods. For example:

>>> import psyplot.project as psy

# show the keys corresponding to a group or multiple
# formatopions
>>> psy.plot.density.keys('labels')

# show the summaries of a group of formatoptions or of a
# formatoption
>>> psy.plot.density.summaries('title')

# show the full documentation
>>> psy.plot.density.docs('plot')

# or access the documentation via the attribute
>>> psy.plot.density.plot