paint_electrodes.sci
来自「用来实现三维阻抗及光学断层成像重建的matlab程序」· SCI 代码 · 共 38 行
SCI
38 行
function []=paint_electrodes(sel,srf,vtx)//function paint_electrodes(sel,srf,vtx);// //Auxilary function which plots the electrodes red at the boundaries.// // // // sel = The (vector) of indices of the electrode faces in the srf matrix// sel can be created by set_electrodes.m // srf = the boundary faces (triangles)// vtx = The vertices matrix. paintit = srf(sel,:); l = srf(sel,1);m = srf(sel,2);n = srf(sel,3); Xs = [vtx(l,1);vtx(m,1);vtx(n,1)];Ys = [vtx(l,2);vtx(m,2);vtx(n,2)];Zs = [vtx(l,3);vtx(m,3);vtx(n,3)]; //!! Unknown function patch ,the original calling sequence is usedpatch(Xs,Ys,Zs,'r'); //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%// This is part of the EIDORS suite.// Copyright (c) N. Polydorides 2001// Copying permitted under terms of GNU GPL// See enclosed file gpl.html for details.// EIDORS 3D version 1.0// MATLAB version 5.3 R11//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?