📄 plot2dsnapshot.m
字号:
% Plot2dSnapshot(x,y,v,indx,vsat)%% INPUT x,y 2D coordinates of GLL nodes (global vector)% v field to be plotted (global vector)% indx cell info, output from Init2dSnapshot% vsat color scale [-vsat vsat]% OUTPUT h patch handle %function h=Plot2dSnapshot(x,y,v,indx,vsat)clfset(gca,'DefaultPatchEdgeColor','none');h=patch('Vertices',[x(:) y(:)],'Faces',indx,'FaceVertexCData',v(:),'FaceColor','interp');axis equal axis tighttitle('SEM2D snapshot')xlabel('X')ylabel('Y')if exist('vsat','var'), set(gca,'CLim',vsat); endcolorbar('vert')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -