help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Plot a map of Europe


From: Jorgen Sandberg
Subject: RE: Plot a map of Europe
Date: Tue, 10 Nov 2015 17:33:38 +0100

Dear Mr Potorti,

Thank you for the mail.

I am trying to make M_Map work with Octave, but I am facing some 
incompatibilities like "verLessThan" can't be found.

Do you know of a way to plot a map of Europe that works with Octave?

Regards,
Jorgen Sandberg

-----Original Message-----
From: Francesco Potortì [mailto:address@hidden 
Sent: 10 November 2015 17:21
To: Jorgen Sandberg <address@hidden>
Cc: address@hidden
Subject: Re: Plot a map of Europe

>I have searched the internet, but not found a real "how to" instruction 
>on how to plot a map of for example Europe and add a contour on top. I 
>need to know the packages to install and where I can find map data in a 
>format accepted by OCTAVE. I really needs an idiots guide to plotting 
>maps in OCTAVE.

Generally speaking, you can draw a plot on top of any background image.
The general way to do so is something like

    map = imread(mapfile);
    image(map);
    axis('image', 'off', 'nolabel');
    hold on
    plot(x, y);

x and y should use the same measure of unit as the map, that is, pixels.

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it




reply via email to

[Prev in Thread] Current Thread [Next in Thread]