2D 3D concentration filled contour at different elevation
이전 댓글 표시
I have 4 vectors, x,y,z and conc corresponding to a list of un-ordered coordinates(x,y,z), and a corresponding concentration vector,con, for each point. I'd like to create filled concentration profile (contour) at different depth. so I tried contourslice, I also tried to create new matrices for different z values and create individual 2D contours on a structured grid but in all attempts I received error saying that the con should be at least 2x2(the contourf and also contourslice require 'con' to be a two-dimensional matrix, not a one-dimensional vector). my datafile is huge so I can not do it manually and I have been looking for this for the last week and I couldnt find any solution. I dont want to use scatter3. Any solution would be greatly appreciated.
답변 (1개)
Walter Roberson
2018년 1월 6일
0 개 추천
griddata() and then use slice() or contourslice()
카테고리
도움말 센터 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!