matrix dimension mismatch in hist3 plot()
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I am using the code below to create a hist3 plot.
My question is, why is the variable z data a 405x605 matrix?
I thought it would be 81x121 as defined by the variable edges?
Thank you
edges = {-4:0.1:4, 0:1:120}
hist3(Data,'Edges',edges);
set(gcf,'renderer','opengl');
s = get(gca,'child');
zData = get(s,'zData');
댓글 수: 0
답변 (1개)
Walter Roberson
2013년 1월 22일
hist3 creates patches to represent the data. Each patch has more than one coordinate tuple.
참고 항목
카테고리
Help Center 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!