Skip to content

plot

Synopsis

xcdo -plot[,filename] input

Description

A simple plot function for xarray DataArray.

This function uses xarray.DataArray's plot method to plot the given dataset. It opens a interactive matplotlib window if filename is not provided.

Positional Arguments

Name Type Required Description
filename TEXT Optional Filename to save the plot
(default value: '')

Examples

xcdo -plot infile.nc