Last change
on this file since 1002 was
1002,
checked in by aslmd, 11 years ago
|
UTIL PYTHON planetoplot_v2. possibility to load a field in a restricted interval with e.g. -t 0,1 without performing computations (self.compute=nothing). use for histograms, see histo.py. added smooth2diter. bug correction: ensure numpy array, vector, minmax equal.
|
-
Property svn:executable set to
*
|
File size:
251 bytes
|
Line | |
---|
1 | #! /usr/bin/env python |
---|
2 | from ppclass import pp |
---|
3 | import matplotlib.pyplot as mpl |
---|
4 | import numpy as np |
---|
5 | |
---|
6 | icetot = pp(file="/home/aymeric/Big_Data/DATAPLOT/diagfired.nc",var="icetot",t="0.5,2.5",compute="nothing").getf() |
---|
7 | mpl.hist(np.ravel(icetot)) |
---|
8 | mpl.show() |
---|
Note: See
TracBrowser
for help on using the repository browser.