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

📄 plotz.m

📁 Continuous Profile Models (CPM) Matlab Toolbox.
💻 M
字号:
% function garb = plotZ(G)%% plots each class of z one axis at a time, and then the% difference between them.  does not work well for more% than two classes, does not work well for numBins>1function garb = plotZ(G)if (G.numBins>1) | (G.numClass>2)  error('only works with numBins=1, numClass<2');endallAx=splitAxes(G.numClass+1,1,'latent trace');ms=2;maxVal = maxx(G.z);for cc=1:G.numClass  axes(allAx{cc});  tmpDat = G.z(:,cc);  %imstats(tmpDat);  %whos tmpDat  plot(tmpDat,'MarkerSize',ms);  title(['Class ' num2str(cc)]);  tmpAx = axis;  tmpAx(4)=maxVal;  axis(tmpAx);endzdiff = (G.z(:,2)-G.z(:,1));axes(allAx{G.numClass+1});plot(zdiff,'MarkerSize',ms);title('Class 2 - Class 1');hold on;plot(zeros(size(zdiff)),'r-');

⌨️ 快捷键说明

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