argopy.ArgoIndex.plot

Contents

argopy.ArgoIndex.plot#

ArgoIndex.plot()#

Extension providing plot methods

Examples

Listing 46 Example of ArgoIndex trajectory plotting method#
from argopy import ArgoIndex

idx = ArgoIndex().query.wmo(6903091)

idx.plot.trajectory()
Listing 47 Examples of ArgoIndex trajectory plotting methods with custom arguments#
from argopy import ArgoIndex

idx = ArgoIndex(index_file='bgc-s')
idx.query.params('CHLA')

idx.plot.trajectory(set_global=1,
                    add_legend=0,
                    traj=0,
                    cbar=False,
                    markersize=12,
                    markeredgesize=0.1,
                    dpi=120,
                    figsize=(20,20));
Listing 48 Example of ArgoIndex bar plotting methods#
from argopy import ArgoIndex

idx = ArgoIndex().load()

idx.plot.bar(by='profiler')

idx.plot.bar(by='dac')
Listing 49 Full index vs query results#
from argopy import ArgoIndex
idx = ArgoIndex(index_file='bgc-s')
idx.query.params('CHLA')

idx.plot.bar(by='profiler')  # Plot query results (default)

idx.plot.bar(by='profiler', index=True)  # Force plot of full index