"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Libtmp/Transform/Cartography/Cartography.pm" between
PDL-2.074.tar.gz and PDL-2.075.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

Cartography.pm  (PDL-2.074):Cartography.pm  (PDL-2.075)
skipping to change at line 397 skipping to change at line 397
Returns a vector coastline map based on the 1987 CIA World Coastline Returns a vector coastline map based on the 1987 CIA World Coastline
database (see author information). The vector coastline data are in database (see author information). The vector coastline data are in
plate caree format so they can be converted to other projections via plate caree format so they can be converted to other projections via
the L<apply|PDL::Transform/apply> method and cartographic transforms, the L<apply|PDL::Transform/apply> method and cartographic transforms,
and are suitable for plotting with the and are suitable for plotting with the
L<lines|PDL::Graphics::PGPLOT::Window/lines> L<lines|PDL::Graphics::PGPLOT::Window/lines>
method in the PGPLOT method in the PGPLOT
output library: the first dimension is (X,Y,pen) with breaks having output library: the first dimension is (X,Y,pen) with breaks having
a pen value of 0 and hairlines having negative pen values. The second a pen value of 0 and hairlines having negative pen values. The second
dimension threads over all the points in the data set. dimension broadcasts over all the points in the data set.
The vector map includes lines that pass through the antipodean The vector map includes lines that pass through the antipodean
meridian, so if you want to plot it without reprojecting, you should meridian, so if you want to plot it without reprojecting, you should
run it through L</clean_lines> first: run it through L</clean_lines> first:
$w = pgwin(); $w = pgwin();
$w->lines(earth_coast->clean_lines); # plot plate caree map of world $w->lines(earth_coast->clean_lines); # plot plate caree map of world
$w->lines(earth_coast->apply(t_gnomonic))# plot gnomonic map of world $w->lines(earth_coast->apply(t_gnomonic))# plot gnomonic map of world
C<earth_coast> is just a quick-and-dirty way of loading the file C<earth_coast> is just a quick-and-dirty way of loading the file
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)