help using surf command

3 views (last 30 days)
Matt
Matt on 24 Oct 2013
Commented: Walter Roberson on 25 Oct 2013
I need to plot pressure surface versus latitude and longitude as a surface plot, using the surf command. Pressure surface is a matrix, where latitude and longitude are vectors. I keep receiving the error data dimensions must agree.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 24 Oct 2013
Your data are latitude , longitude and pressure, it's obvious they should be the same size

Tags

Community Treasure Hunt

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

Start Hunting!