Changeset 21355
- Timestamp:
- 11/10/16 02:26:03 (8 years ago)
- Location:
- issm/trunk-jpl/src/m/plot
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_manager.py
r21283 r21355 8 8 from plot_mesh import plot_mesh 9 9 from plot_BC import plot_BC 10 from plot_elementnumbering import plot_elementnumbering 10 11 from processmesh import processmesh 11 12 from processdata import processdata … … 56 57 options.addfielddefault('ylim',[min(md.mesh.y),max(md.mesh.y)]) 57 58 # }}} 58 # {{{ dealing with special plot (mesh for now)59 # {{{ dealing with special plot 59 60 if isinstance(data,(str,unicode)): 60 61 if data=='mesh': … … 64 65 elif data=='BC': 65 66 plot_BC(md,options,fig,ax) 67 return 68 elif data=='elementnumbering': 69 plot_elementnumbering(md,options,fig,ax) 66 70 return 67 71 elif data=='none': -
issm/trunk-jpl/src/m/plot/plotdoc.py
r21289 r21355 7 7 pydata={'quiver':' quiver plot give data and a vector array [Vx,Vy]', 8 8 'mesh':' draw mesh using trisurf', 9 'BC':' this will draw all the boundary conditions (Dirichlet and Neumann).'} 9 'BC':' this will draw all the boundary conditions (Dirichlet and Neumann).', 10 'elementnumbering':' numbering of elements (matlab indices)'} 10 11 TODOdata={'basal_drag':' plot the basal drag on the bed (in kPa) based on the velocity in md.initialization', 11 12 'basal_dragx or basal_dragy' :' plot a component of the basal drag on the bed (in kPa)', … … 17 18 'driving_stress':' plot the driving stress (in kPa)', 18 19 'elements_type':' model used for each element', 19 'elementnumbering':' numbering of elements',20 20 'vertexnumbering':' numbering of vertices', 21 21 'highlightelements':' to highlight elements to highlight the element list', … … 60 60 'fontweight':" fontweight for the title 'normal', 'bold'", 61 61 'fontcolor':" TODO", 62 'highlight':" highlights certain nodes or elements when using 'nodenumbering' or 'elementnumbering' or 'highlightnodes ' or 'highlightelements' option", 62 63 'title':" subplot title (string)", 63 64 'xlim':" limits of X axis (all subplots) (ex: [0,500])", … … 107 108 'insety':" [min(y) max(y)] where min(y) and max(y) are values determining the inset content", 108 109 'insetpos':" [x,y,dx,dy] where x,y,dx and dy are within [0 1]", 109 'highlight':" highlights certain nodes or elements when using 'nodenumbering' or 'elementnumbering' or 'highlightnodes ' or 'highlightelements' option",110 110 'resolution':" resolution used by section value (array of type [horizontal_resolution vertical_resolution])", 111 111 'showsection':" show section used by 'sectionvalue' (string 'on' or a number of labels)",
Note:
See TracChangeset
for help on using the changeset viewer.