필터 지우기
필터 지우기

Can you plot X,Y points onto a "SURF" graph?

조회 수: 8 (최근 30일)
Aaron Burdick
Aaron Burdick 2011년 8월 17일
I am graphing longitude (X) vs latitude (Y) vs gas concentration (Z). I used "surf(X,Y,Z)" to create a surface plot and view([0 90]) to make it flat.
Now I have the coastline points as X,Y points that I need to graph to show the coastlines. How can I plot a simple graph of X,Y points (as dots) on the surface map I've created already?
Thanks so much!
Aaron
  댓글 수: 1
Walter Roberson
Walter Roberson 2011년 8월 17일
By the way, surf() followed by view([0 90]) is the same thing as pcolor()

댓글을 달려면 로그인하십시오.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2011년 8월 17일
hold on;
plot(x,y,'.')
  댓글 수: 2
Walter Roberson
Walter Roberson 2011년 8월 17일
Note: this might be difficult to see unless you increase the marker size.
Aaron Burdick
Aaron Burdick 2011년 8월 18일
Thanks so much! That worked!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geographic Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by