Metview's documentation is now on readthedocs!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


definition mvl_geocircle(lat : number, lon : number,radius : number, resolution : number)

Plots a circle with a given radius in km onto a non-cylindrical map projection. Internally, the circle is split into a number of segments and the returned result is an Input Visualiser object which can be passed to the plot() command along with an optional Graph Plotting object.

The first three parameters specify the centre and the radius (in km) of the circle. Parameter resolution defines the number of line segments to use to make up the circle.

The usage of this function is demonstrated via the Geocircle on Map Example from the Gallery.


definition mvl_geoline(lat1 : number, lon1 : number, lat2 : number, lon2 : number,  incrm : number)

Plots a straight line onto a non-cylindrical map projection. Internally, the line is split into a number of segments and the returned result is an Input Visualiser object which can be passed to the plot() command along with an optional Graph Plotting object.

The first four parameters define the end-points of the line. Parameter incrm specifies the increment, in degrees, into which the line should be split.

The usage of this function is demonstrated via the Geoline on Map Example from the Gallery.


plot(...)

Generates a plot using the specified output device.


  • No labels