plotdoc

PURPOSE ^

PLOTDOC - plot documentation

SYNOPSIS ^

function plotdoc()

DESCRIPTION ^

PLOTDOC - plot documentation

   Usage:
      plotdoc()

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function plotdoc()
0002 %PLOTDOC - plot documentation
0003 %
0004 %   Usage:
0005 %      plotdoc()
0006 
0007 disp(' ');
0008 disp('   Plot usage: plotm(model,varargin)');
0009 disp('   Options: ');
0010 disp('       ''figure'': figure number');
0011 disp('       ''data'' : what we want to plot');
0012 disp('                Available values for ''data'' are: ');
0013 disp('                  - any field of the model structure. ex: plot(md,''data'',''vel''), or plot(md,''data'',md.vel)');
0014 disp('                  - ''boundaries'': this will draw all the segment boundaries to the model, including rifts.');
0015 disp('                  - ''deviatoricstress_tensor'': plot the components of the deviatoric stress tensor (tauxx,tauyy,tauzz,tauxy,tauxz,tauyz) if computed');
0016 disp('                  - ''deviatoricstress_principal'': plot the deviatoricstress tensor principal axis and principal values');
0017 disp('                  - ''deviatoricstress_principalaxis1'': arrow plot the first principal axis of the deviatoricstress tensor(replace 1 by 2 or 3 if needed)');
0018 disp('                  - ''elements_type'': model used for each element');
0019 disp('                  - ''elementnumbering'': numbering of elements');
0020 disp('                  - ''gridnumbering'': numbering of grids');
0021 disp('                  - ''segmentnumbering'': numbering of segments');
0022 disp('                  - ''highlightelements'': to highlight elements to highlight the element list');
0023 disp('                  - ''highlightgrids'': to highlight grids (use highlight option to enter the grid list');
0024 disp('                  - ''mesh'': draw mesh using trisurf');
0025 disp('                  - ''quiver'': arrow plot of the velocity in 2d');
0026 disp('                  - ''quiver3'': arrow plot of the velocity in 3d');
0027 disp('                  - ''quivervel'': arrow plot of the velocity superimposed with its magnitude');
0028 disp('                  - ''riftvel'': velocities along rifts');
0029 disp('                  - ''riftrelvel'': relative velocities along rifts');
0030 disp('                  - ''riftpenetration'': penetration levels for a fault');
0031 disp('                  - ''basal_drag'': plot the basal drag on the bed (in kPa)');
0032 disp('                  - ''driving_stress'': plot the driving stress (in kPa)');
0033 disp('                  - ''strainrate_tensor'': plot the components of the strainrate tensor (exx,eyy,ezz,exy,exz,eyz) if computed');
0034 disp('                  - ''strainrate_principal'': plot the strainrate tensor principal axis and principal values)');
0035 disp('                  - ''strainrate_principalaxis1'': arrow plot the first principal axis of the strainrate tensor(replace 1 by 2 or 3 if needed)');
0036 disp('                  - ''stress_tensor'': plot the components of stress tensor (sxx,syy,szz,sxy,sxz,syz) if computed');
0037 disp('                  - ''stress_principal'': plot the stress tensor principal axis and principal values');
0038 disp('                  - ''stress_principalaxis1'': arrow plot the first principal axis of the stress tensor(replace 1 by 2 or 3 if needed)');
0039 disp('                  - ''transient_results'': this will display all the time steps of a transient run');
0040 disp('                  - ''transient_movie'': this will display the time steps of a given field of a transient run');
0041 disp('                  - ''thermaltransient_results'': this will display all the time steps of a thermal transient run');
0042 disp('                  - ''importancefactors'': qmu results');
0043 
0044 answer = lower(input(['more?(y/n) \n'],'s'));
0045 if ~strcmp(answer,'y'), return, end
0046 
0047 disp('       ''axis'': same as standard matlab option (''equal'',''off'',''equal on'',...)');
0048 disp('       ''caxis'': modify  colorbar range. (array of type [a b] where b>=a)');
0049 disp('       ''colorbar'': add colorbar (string ''on'' or ''off'')');
0050 disp('       ''colorbarpos'': [x,y,dx,dy] where x,y,dx and dy are within [0 1]');
0051 disp('       ''colormap'': same as standard matlab option (''jet'',''HSV'',''cool'',''spring'',''gray'',...)');
0052 disp('       ''contourlevels'': N or {value1,valu2,value3,...} add the contours of the specified values or N contours');
0053 disp('       ''contourticks'': ''on'' or ''off'' to display the ticks of the contours');
0054 disp('       ''contouronly'': ''on'' or ''off'' to display the contours on a white background');
0055 disp('       ''contourcolors'': ticks and contour color');
0056 disp('       ''wrapping'': repeat ''n'' times the colormap (''n'' must be an integer)');
0057 disp('       ''edgecolor'': same as standard matlab option EdgeColor (color name: ''black'' or RGB array: [0.5 0.2 0.8])');
0058 disp('       ''fontsize'': same as standard matlab option (normal: ''n'',bold: ''b'',light: ''l'',demi: ''d'')');
0059 disp('       ''fontweight'': same as standard matlab option (10,14,...)');
0060 disp('       ''highlight'': highlights certain grids or elements when using ''gridnumbering'' or ''elementnumbering'' or ''highlightgrids '' or ''highlightelements'' option');
0061 disp('       ''resolution'': resolution used by section value (array of type [horizontal_resolution vertical_resolution])');
0062 disp('                       horizontal_resolution must be in meter, and vertical_resolution a number of layers');
0063 disp('       ''showsection'': show section used by ''sectionvalue'' (string ''yes'')');
0064 disp('       ''sectionvalue'': give the value of data on a profile given by an Argus file (string ''Argusfile_name.exp'')');
0065 disp('       ''smooth'': smooth element data (string ''yes'' or integer)');
0066 disp('       ''title'': same as standard matlab option');
0067 disp('       ''view'': same as standard matlab option (ex: 2, 3 or [90 180]');
0068 disp('       ''xlim'': same as standard matlab option (ex: [0 500])');
0069 disp('       ''ylim'': same as standard matlab option');
0070 disp('       ''zlim'': same as standard matlab option');
0071 disp('       ''xlabel'': same as standard matlab option (ex:''km'')');
0072 disp('       ''ylabel'': same as standard matlab option');
0073 disp('       ''overlay'': yes or no. This will overlay a radar amplitude image behind');
0074 disp('       ''windowsize'': default is 1. size of filter window when using overlay.');
0075 disp('       ''highres'': resolution of overlayed radar amplitude image (default is 0, high resolution is 1).');
0076 disp('       ''alpha'': transparency coefficient (the higher, the more transparent). Default is 1.5');
0077 disp('       ''expdisp'': plot exp file on top of a data plot. provide exp file as an argument (use a cell of strings if more than one)');
0078 disp('       ''expstyle'': marker style for expdisp plot (use a cell of strings if more than one)');
0079 disp('       ''border'': size of display border (in pixels). active only for overlay plots');
0080 disp('       ''text'': print string, use a cell of strings if more than one');
0081 disp('       ''textposition'': [x y] position of text, use a cell of strings if more than one');
0082 disp('       ''textsize'':  same as standard ''FontSize'' matlab option applied to text, use a cell of strings if more than one');
0083 disp('       ''textweight'':  same as standard ''FontWeight'' matlab option applied to text, use a cell of strings if more than one');
0084 disp('       ''textcolor'':  same as standard ''color'' matlab option applied to text, use a cell of strings if more than one');
0085 disp('       ''iceshelf'': ''none'' if ice shelves are to not be plotted');
0086 disp('       ''icesheet'': ''none'' if ice sheets are to not be plotted');
0087 disp('       ''log'': value of log');
0088 disp('       ''designvariable'': name of design variable for importance factors');
0089 disp('       ''responsefunction'': name of response function for importance factors');
0090 disp('       ''latlon'': {latstep lonstep resolution color} where latstep,longstep and resolution are in degrees, color is a [r g b] array');
0091 disp('       ''latlonnumbering'': {latgap longap colornumber latangle lonangle} where latgap and longap are pixel gaps for the numbers,'); 
0092 disp('                   colornumber is a [r g b] array and latangle and lonangle are angles to flip the numbers');
0093 disp('       ''northarrow'': add an arrow pointing north, ''on'' for default value or [x0 y0 length [ratio [width]]] where (x0,y0) are the coordinates of the base, and ratio=headlength/length');
0094 disp('       ''scaleruler'': add a scale ruler, ''on'' for default value or [x0 y0 length width numberofticks] where (x0,y0) are the coordinates of the lower left corner');
0095 disp(' ');
0096 disp('       any options (except ''data'') can be followed by ''#i'' where ''i'' is the subplot number, or ''#all'' if applied to all plots');
0097 disp('  ');
0098 disp('   Examples:');
0099 disp('       plotmodel(md,''data'',''vel'',''data'',''mesh'',''view#2'',3,''colorbar#all'',''on'',''axis#1'',''off equal'')');
0100 disp('       plotmodel(md,''data'',''highlightelements'',''highlight'',[1 4 10],''expdisp'',{''domain1.exp'' ''domain2.exp'' ''domain3.exp''})');

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003