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

📄 plot2dsnapshot.m

📁 Spectral Element Method for wave propagation and rupture dynamics.
💻 M
字号:
% Plot2dSnapshot(field,coord,indx,vsat)%% INPUT		coord	2D coordinates of GLL nodes (npoin,2)%			field	field data to be plotted%			indx	cell info, output from Init2dSnapshot%			vsat	color scale [min max], default none%% OUTPUT	h	patch handle %function h=Plot2dSnapshot(field,coord,indx,vsat)set(gca,'DefaultPatchEdgeColor','none');h=patch('Vertices',coord,'Faces',indx,'FaceVertexCData',field(:),'FaceColor','interp');axis equal tighttitle('SEM2D snapshot')xlabel('X')ylabel('Z')if exist('vsat','var'), if ~isempty(vsat), set(gca,'CLim',vsat); end, endcolorbar('vert')

⌨️ 快捷键说明

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