Wednesday 15 April 2015

gnuplot - How to read a map into octave -



gnuplot - How to read a map into octave -

this follow post 3 weeks ago here how utilize m_map in octave, without beingness nuissance kind , busy people. problem how 1 overlay basemap on octave contour plot. after interpolating irregularly spaced info (works both contour lines , filled contours) plot code:

contour(xi, yi, obsi, cstart:cstep:cend) colorbar; xlabel('longitude'),ylabel('latitude') title('mean rain onset') saveas(gcf,'rainzam.pdf')

and

i have downloaded several map formats: ne_50m_admin_0_countries.zip, apparently obsolete m_map (with associated tbase.z, gshhg-bin-2.3.2.zip), soa.7z, world-bounds.7z, gshhg-gmt-2.3.2.tar.gz, dcw-gmt-1.1.1.tar.gz. question has used of these maps in octave or gnuplot, , how to? appreciate assistance.

basically have load maps in octave, represent borders or coastlines 2 variables (x,y) can add together plot

hold on plot(x,y)

that's easy part, hard part load maps. of them have different formats, means different story how load them. instance, ne_50m_admin_0_countries.zip has dbf format. either convert first ascii text , load load function of octave or need oi bundle (http://wiki.octave.org/io_package), in turn demands java (http://wiki.octave.org/java_package). don't think easy way newbie, suggest convert maps individually text: google "convert dbf csv", "convert dbf text", "convert dbf ascii", etc... perhaps of maps can loaded excel , saved text (csv), of import issue convert them text!

gnuplot octave

No comments:

Post a Comment