argopy.ArgoIndex.plot

Contents

argopy.ArgoIndex.plot#

ArgoIndex.plot()#

Extension providing plot methods

Examples

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

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

idx.plot.trajectory()
Listing 43 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 44 Example of ArgoIndex bar plotting methods#
from argopy import ArgoIndex

idx = ArgoIndex().load()

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

idx.plot.bar(by='dac')
Listing 45 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