Ignore:
Timestamp:
Oct 25, 2016, 7:56:03 PM (9 years ago)
Author:
lfita
Message:

Generlizing, improving and adding to the web `2D_shadow_line'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/documentation/plotting/2Dshad.html

    r1216 r1231  
    1919      &nbsp;&nbsp;[sminv],[smaxv]:[figt]:[kindfig]:[reverse]:[mapv]:[close]<BR>
    2020      &nbsp;&nbsp;&nbsp;&nbsp;[vnamefs]: Name in the figure of the variable to be shaded<BR>
    21         [dimvals]: ',' list of [dimname]|[value] telling at which dimension of the <BR>
    22           variable a given value is required (-1, all the length)<BR>
    23         [dimx/yvn]: name of the variables with the values of the final dimensions (x,y)<BR>
    24         [dimxyfmt]=[dxs],[dxf],[Ndx],[ordx],[dys],[dyf],[Ndy],[ordx]: format of the values at each axis (or 'auto')<BR>
    25           [dxs]: style of x-axis ('auto' for 'pretty')<BR>
    26             'Nfix', values computed at even 'Ndx'<BR>
    27             'Vfix', values computed at even 'Ndx' increments<BR>
    28             'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR>
    29           [dxf]: format of the labels at the x-axis ('auto' for '%5g')<BR>
    30           [Ndx]: Number of ticks at the x-axis ('auto' for 5)<BR>
    31           [ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR>
    32           [dys]: style of y-axis ('auto' for 'pretty')<BR>
    33           [dyf]: format of the labels at the y-axis ('auto' for '%5g')<BR>
    34           [Ndy]: Number of ticks at the y-axis ('auto' for 5)<BR>
    35           [ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR>
    36         [colorbarvals]=[colbarn],[fmtcolorbar],[orientation]<BR>
    37           [colorbarn]: name of the color bar<BR>
    38           [fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
    39           [orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
    40         [smin/axv]: minimum and maximum value for the shading or:<BR>
    41           'Srange': for full range<BR>
    42           'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
    43           'Saroundminmax@val': for min*val,max*val<BR>
    44           'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
    45             percentile_(100-val)-median)<BR>
    46           'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
    47           'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
    48           'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
    49              percentile_(100-val)-median)<BR>
    50         [figt]: title of the figure ('|' for spaces)<BR>
    51         [kindfig]: kind of figure<BR>
    52         [reverse]: Transformation of the values<BR>
    53           * 'transpose': reverse the axes (x-->y, y-->x)<BR>
    54           * 'flip'@[x/y]: flip the axis x or y<BR>
    55         [mapv]: map characteristics: [proj],[res]<BR>
    56           see full documentation: <HREF CLASS="lc" HREF="http://matplotlib.org/basemap" TARGET="_blank">http://matplotlib.org/basemap</A><BR>
    57           [proj]: projection<BR>
    58             * 'cyl', cilindric<BR>
    59             * 'lcc', lambert conformal<BR>
    60           [res]: resolution:<BR>
    61             * 'c', crude<BR>
    62             * 'l', low<BR>
    63             * 'i', intermediate<BR>
    64             * 'h', high<BR>
    65             * 'f', full<BR>
    66         [close]: Whether figure should be finished or not<BR>
    67       valules= 'rh:z|-1,x|-1:z|-1,x|-1:lat:pressure:BuPu:0.,100.:rh:pdf:flip@y:None'<BR>
     21      &nbsp;&nbsp;[dimvals]: ',' list of [dimname]|[value] telling at which dimension of the <BR>
     22      &nbsp;&nbsp;&nbsp;&nbsp;variable a given value is required (-1, all the length)<BR>
     23      &nbsp;&nbsp;[dimx/yvn]: name of the variables with the values of the final dimensions (x,y)<BR>
     24      &nbsp;&nbsp;[dimxyfmt]=[dxs],[dxf],[Ndx],[ordx],[dys],[dyf],[Ndy],[ordx]: format of the values at each axis (or 'auto')<BR>
     25      &nbsp;&nbsp;&nbsp;&nbsp;[dxs]: style of x-axis ('auto' for 'pretty')<BR>
     26      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Nfix', values computed at even 'Ndx'<BR>
     27      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'Vfix', values computed at even 'Ndx' increments<BR>
     28      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)<BR>
     29      &nbsp;&nbsp;&nbsp;&nbsp;[dxf]: format of the labels at the x-axis ('auto' for '%5g')<BR>
     30      &nbsp;&nbsp;&nbsp;&nbsp;[Ndx]: Number of ticks at the x-axis ('auto' for 5)<BR>
     31      &nbsp;&nbsp;&nbsp;&nbsp;[ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)<BR>
     32      &nbsp;&nbsp;&nbsp;&nbsp;[dys]: style of y-axis ('auto' for 'pretty')<BR>
     33      &nbsp;&nbsp;&nbsp;&nbsp;[dyf]: format of the labels at the y-axis ('auto' for '%5g')<BR>
     34      &nbsp;&nbsp;&nbsp;&nbsp;[Ndy]: Number of ticks at the y-axis ('auto' for 5)<BR>
     35      &nbsp;&nbsp;&nbsp;&nbsp;[ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)<BR>
     36      &nbsp;&nbsp;[colorbarvals]=[colbarn],[fmtcolorbar],[orientation]<BR>
     37      &nbsp;&nbsp;&nbsp;&nbsp;[colorbarn]: name of the color bar<BR>
     38      &nbsp;&nbsp;&nbsp;&nbsp;[fmtcolorbar]: format of the numbers in the color bar 'C'-like ('auto' for %6g)<BR>
     39      &nbsp;&nbsp;&nbsp;&nbsp;[orientation]: orientation of the colorbar ('vertical' (default, by 'auto'), 'horizontal')<BR>
     40      &nbsp;&nbsp;[smin/axv]: minimum and maximum value for the shading or:<BR>
     41      &nbsp;&nbsp;&nbsp;&nbsp;'Srange': for full range<BR>
     42      &nbsp;&nbsp;&nbsp;&nbsp;'Saroundmean@val': for mean-xtrm,mean+xtrm where xtrm = np.min(mean-min@val,max@val-mean)<BR>
     43      &nbsp;&nbsp;&nbsp;&nbsp;'Saroundminmax@val': for min*val,max*val<BR>
     44      &nbsp;&nbsp;&nbsp;&nbsp;'Saroundpercentile@val': for median-xtrm,median+xtrm where xtrm = np.min(median-percentile_(val),<BR>
     45      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     46      &nbsp;&nbsp;&nbsp;&nbsp;'Smean@val': for -xtrm,xtrm where xtrm = np.min(mean-min*@val,max*@val-mean)<BR>
     47      &nbsp;&nbsp;&nbsp;&nbsp;'Smedian@val': for -xtrm,xtrm where xtrm = np.min(median-min@val,max@val-median)<BR>
     48      &nbsp;&nbsp;&nbsp;&nbsp;'Spercentile@val': for -xtrm,xtrm where xtrm = np.min(median-percentile_(val),<BR>
     49      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percentile_(100-val)-median)<BR>
     50      &nbsp;&nbsp;[figt]: title of the figure ('|' for spaces)<BR>
     51      &nbsp;&nbsp;[kindfig]: kind of figure<BR>
     52      &nbsp;&nbsp;[reverse]: Transformation of the values<BR>
     53      &nbsp;&nbsp;&nbsp;&nbsp;* 'transpose': reverse the axes (x-->y, y-->x)<BR>
     54      &nbsp;&nbsp;&nbsp;&nbsp;* 'flip'@[x/y]: flip the axis x or y<BR>
     55      &nbsp;&nbsp;[mapv]: map characteristics: [proj],[res]<BR>
     56      &nbsp;&nbsp;&nbsp;&nbsp;see full documentation: <HREF CLASS="lc" HREF="http://matplotlib.org/basemap" TARGET="_blank">http://matplotlib.org/basemap</A><BR>
     57      &nbsp;&nbsp;&nbsp;&nbsp;[proj]: projection<BR>
     58      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'cyl', cilindric<BR>
     59      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'lcc', lambert conformal<BR>
     60      &nbsp;&nbsp;&nbsp;&nbsp;[res]: resolution:<BR>
     61      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'c', crude<BR>
     62      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'l', low<BR>
     63      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'i', intermediate<BR>
     64      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'h', high<BR>
     65      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* 'f', full<BR>
     66      &nbsp;&nbsp;[close]: Whether figure should be finished or not<BR>
    6867      varn= [varsn] name of the variable to plot with shading<BR>
    6968    </DIV>
Note: See TracChangeset for help on using the changeset viewer.