Afficher commentaires plus anciens
Hi, im trying to write an m-file that uses an axesm function. I am imaginging the sky in radiowaves and cannot get the function to work. It runs but errors when the graph show. Can anyone help? Thanks Luke axesm('hammer'); patchm (lat, long, 'f'); setm (gca,'Origin', [30 130 135]);
8 commentaires
Walter Roberson
le 8 Fév 2011
Please expand upon what error you encounter.
Jan
le 15 Fév 2011
Please insert a copy of the error message in this question and use the code formatting.
Andrew Newell
le 15 Fév 2011
@Luke, please help us to help you! It would be easier to diagnose the problem if you provide some data for lat and long and tell us what the error message is.
Luke
le 15 Fév 2011
Andrew Newell
le 15 Fév 2011
O.k., that's a start. Now what are the values of d, v, and srtdata1?
Luke
le 15 Fév 2011
Andrew Newell
le 15 Fév 2011
Can you give me some actual numerical values for these data? Then tell me what you see when you run your code and what you want to see.
Luke
le 15 Fév 2011
Réponses (1)
Andrew Newell
le 8 Fév 2011
I'm not sure what your goal is, but the errors in the above code go away if you provide values for lat and long:
axesm('hammer');
lat = 0; long = 0;
patchm (lat, long, 'f');
setm (gca,'Origin', [30 130 135]);
5 commentaires
Luke
le 15 Fév 2011
Luke
le 15 Fév 2011
Andrew Newell
le 15 Fév 2011
I don't understand what you are saying. Can you try editing the original question?
Luke
le 15 Fév 2011
Luke
le 15 Fév 2011
Catégories
En savoir plus sur Create Plots on Maps dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!