⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setplot2.m

📁 CLAWPACK is a software package designed to compute numerical solutions to hyperbolic partial differe
💻 M
字号:
%  SETPLOT2 sets user defined plotting parameters%%      User defined Matlab script for setting various Clawpack plotting%      parameters.  This script is called by PLOTCLAW2.  A default%      version of this script can be found in claw/matlab/setplot2.m and%      copied to users working directory and modifed to set things up%      differently.%%      Parameters that can be set with SETPLOT2%%        OutputFlag        - set to 'ascii' (default) to read ascii output%                            or to 'hdf' to read hdf output files.%        PlotType          - type of plot to produce:% 			    - 1 = pcolor on slices (with optional contours)% 			    - 2 = contour lines in 2d on white slices% 			    - 3 = Schlieren plot on slices% 			    - 4 = scatter plot of q vs. r%%        mq                  - which component of q to plot%        UserVariable        - Set to 1 to specify a user defined variable.%        UserVariableFile    - name of m-file mapping data to q%        MappedGrid          - set to 1 if mapc2p.m exists for nonuniform%                              grid%        Manifold            - set to 1 if mapc2m.m exists for manifold plot.%        MaxFrames           - max number of frames%        MaxLevels           - max number of AMR levels%        PlotData            - Data on refinement level k is plotted only if%                              PlotData(k) == 1%        PlotGrid            - PLot grid lines on level k is PlotGrid(k) /= 0%        PlotGridEdges       - Plot 2d patch borders if PlotGridEdges(k) /= 0%        ContourValues       - Set to desired contour values, or [] for no ...% 	                       lines.%        x0,y0               - center for scatter plots.%        ScatterStyle        - symbols for scatter plot.%        LineStyle           - same as ScatterStyle.%        UserMap1d           - set to 1 if 'map1d' file exists.%%      All parameters can be modified by typing 'k' at the PLOTCLAW2 prompt.%%      See also PLOTCLAW2, SetPlotGrid, setPlotGridEdges.% OutputFlag = 'ascii'         % default value.PlotType = 1;                % type of plot to produce:			     % 1 = pseudo-color (pcolor)			     % 2 = contour			     % 3 = Schlieren			     % 4 = scatter plot of q vs. rmq = 1;                      % which component of q to plotUserVariable = 0;            % set to 1 to specify a user-defined variableUserVariableFile = ' ';      % name of m-file mapping data to qMappedGrid = 0;              % set to 1 if mapc2p.m exists for nonuniform gridManifold = 0;MaxFrames = 1000;            % max number of frames to loop overMaxLevels = 6;PlotData =  [1 1 1 1 1 1];   % Data on refinement level k is plotted only if			     % k'th component is nonzeroPlotGrid =  [0 0 0 0 0 0];   % Plot grid lines on each level?PlotGridEdges =  [0 0 0 0 0 0];  % Plot edges of patches of each grid at                                 % this level?  Shows edges of MPI                                 % subdomains with ASCII output.%---------------------------------   ContourValues = 0.2:0.2:0.8;%---------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -