How to corrplot without displaying histograms?
조회 수: 5 (최근 30일)
이전 댓글 표시
채택된 답변
Askic V
2022년 12월 13일
편집: Askic V
2022년 12월 13일
Please execute this script. I think it will give you pretty good idea what to do next.
clear
close all
load Data_Canada
corrplot(DataTable,Type="Kendall",TestR="on");
% find all axis objects (children)
cc = findobj(gcf, 'type', 'axes');
cc(1:10)
% create new figure
fig2 = figure(2);
% define 1st subplot
ax1 = subplot(2,1,1,'parent',fig2);
% copy object from previous figure
axcp = copyobj(cc(9), fig2);
set(axcp,'Position',get(ax1,'position'));
ax2 = subplot(2,1,2,'parent',fig2);
axcp = copyobj(cc(10), fig2);
set(axcp,'Position',get(ax2,'position'));
I think by following this example, yo'll manage to get what you need. First examine the variable (array) cc. First two elements will be PlotMatrixHistAx. You'll use PlotMatrixScatterAx array elements.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!