source: lmdz_wrf/trunk/tools/documentation/plotting/intro.html @ 1211

Last change on this file since 1211 was 1211, checked in by lfita, 9 years ago

Fixing acces to the .css file

File size: 3.9 KB
Line 
1<HTML>
2  <HEAD>
3    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"/>
4    <LINK REL="stylesheet" TYPE="text/css" HREF="../PyNCplot.css"/>
5  </HEAD>
6
7  <BODY>
8    <DIV CLASS="valheader">
9      Plotting functions
10    </DIV>
11    <DIV CLASS="valintro">
12      List of available functions to plot figures. Most of them follow a similar structure:<BR>
13      <!--DIV CLASS="codetxt"-->
14      <PRE><CODE>
15        $ python drawing.py -o [figure] -f [file(or files)] -S [values] -v [variables]
16      </CODE></PRE>
17      <!--/DIV-->
18      One can obtain all the list of plots and their instructions by demanding to the script:
19      <PRE><CODE>
20        $ python drawing.py -o list_grahics
21      </CODE></PRE>
22      For almost all figures, one can obtain all the help of a specific plot by:
23      <PRE><CODE>
24        $ python drawing.py -o [figure] -S h
25      </CODE></PRE>
26      The plotting script has two steps:
27      <OL>
28        <LI><SPAN CLASS="codetxt">drawing.py:</SPAN> Main script which gets the data from files
29        <LI><SPAN CLASS="codetxt">drawing_tools.py:</SPAN> Script which draw the figure and its used by <SPAN CLASS="codetxt">drawing.py</SPAN>
30        <LI><SPAN CLASS="codetxt">generic_tools.py:</SPAN> Script which contains generic operations and it is used by both scripts</LI>
31      </OL>
32      Available plots:
33      <UL>
34       <LI> create_movie: Function to create a movie assuming ImageMagick installed! </LI>
35       <LI> draw_2D_shad: plotting a fields with shading </LI>
36       <LI> draw_2D_shad_cont: plotting two fields, one with shading and the other with contour lines </LI>
37       <LI> draw_2D_shad_cont_time: plotting two fields, one with shading and the other with contour lines being one of the dimensions of time characteristics </LI>
38       <LI> draw_2D_shad_line: plotting a fields with shading and another with line </LI>
39       <LI> draw_2D_shad_line_time: plotting a fields with shading and a line with time values </LI>
40       <LI> draw_2D_shad_time: plotting a fields with shading with time values </LI>
41       <LI> draw_2lines: Fucntion to plot two lines in different axes (x/x2 or y/y2) </LI>
42       <LI> draw_2lines_time: Function to plot two time-lines in different axes (x/x2 or y/y2) </LI>
43       <LI> draw_barbs: Function to plot wind barbs </LI>
44       <LI> draw_basins: Function to plot river basins with their discharge vector and basins id (from 'routing.nc') </LI>
45       <LI> draw_lines: Function to draw different lines at the same time from different files </LI>
46       <LI> draw_lines_time: Function to draw different lines at the same time from different files with times </LI>
47       <LI> draw_Neighbourghood_evol: Function to draw the temporal evolution of a neighbourghood around a point </LI>
48       <LI> draw_points: Function to plot a series of points </LI>
49       <LI> draw_points_lonlat: Function to plot a series of lon/lat points </LI>
50       <LI> draw_ptZvals: Function to plot a given list of points and values  </LI>
51       <LI> draw_timeSeries: Function to draw a time-series </LI>
52       <LI> draw_topo_geogrid: plotting geo_em.d[nn].nc topography from WPS files </LI>
53       <LI> draw_topo_geogrid_boxes: plotting different geo_em.d[nn].nc topography from WPS files </LI>
54       <LI> draw_trajectories: Function to draw different trajectories at the same time </LI>
55       <LI> draw_vals_trajectories: Function to draw values from the outputs from 'compute_tevolboxtraj' </LI>
56       <LI> draw_vectors: Function to plot wind vectors </LI>
57       <LI> movievalslice: Function to provide variable slice according to a geneation of a movie </LI>
58       <LI> variable_values: Function to give back values for a given variable </LI>
59       <LI> draw_river_desc: Function to plot rivers' description from ORCHIDEE's routing scheme </LI>
60       <LI> draw_subbasin: Function to plot subbasin from 'routnig.nc' ORCDHIEE </LI>
61       <LI> draw_vertical_levels: plotting vertical levels distribution </LI>
62      </UL>
63    </DIV>
64   
65  </BODY>
66</HTML>
67
Note: See TracBrowser for help on using the repository browser.