Question about PLOTTING over MAPS
조회 수: 5 (최근 30일)
이전 댓글 표시
I am using a code to generate the maps, but I'm still having a little trouble adding my own data. What I need is very simple, I have a data file with latitude, longitudes and the number of times that lightning struck on that location (Basically I need a density plot). Any comments will be very helpful.
Thank you, Diana
댓글 수: 2
Doug Hull
2012년 7월 17일
Do you need this to be on a map projection, or treating the world as flat is fine because lat and lon are really just X and Y to you?
Are you using the mapping toolbox?
do you know how to convert this to density, regardless of it being lat and lon?
답변 (1개)
Walter Roberson
2012년 7월 17일
pointsize = 8;
scatter(lat(:), long(:), pointsize, numstrikes(:))
colorbar
댓글 수: 12
Walter Roberson
2012년 7월 17일
That package is a bit big for me to "sight read", and unfortunately I do not have access to MATLAB for the next bit of time (waiting for a new computer to arrive...)
I don't think I will be able to assist with that toolbox within a reasonable time.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!