How to plot scatter graph in matlab?
조회 수: 9 (최근 30일)
이전 댓글 표시
I have need to make a system model with below specifications:
Area: 50x50(km) X & Y axis: random 20000 coordinates (locations) in 50x50 areas Z: it's a function of x & y coordinates. I need to plot values of z in x & y coordinates, which is measured in dB. I also need to differentiate values with different colour codes.
Any input from anyone will be much appreciated.
Thank you.
댓글 수: 0
답변 (1개)
Fangjun Jiang
2011년 8월 14일
The function you are looking for is scatter3. help scatter3 for details and example. The other function might be mesh(),surf() as long as you have X,Y and Z data.
[x,y,z]=peaks;
surf(x,y,z)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!