Borrar filtros
Borrar filtros

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

8 visualizaciones (últimos 30 días)
Aaron Burdick
Aaron Burdick el 17 de Ag. de 2011
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 comentario
Walter Roberson
Walter Roberson el 17 de Ag. de 2011
By the way, surf() followed by view([0 90]) is the same thing as pcolor()

Iniciar sesión para comentar.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 17 de Ag. de 2011
hold on;
plot(x,y,'.')
  2 comentarios
Walter Roberson
Walter Roberson el 17 de Ag. de 2011
Note: this might be difficult to see unless you increase the marker size.
Aaron Burdick
Aaron Burdick el 18 de Ag. de 2011
Thanks so much! That worked!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Geographic Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by