1 / 14

Plotting in Perl

Plotting in Perl. Yu-Tzu Chou 499440419 Earth Science 103. Geophysics. Needing to do: Graphing Plotting Contours Use: Radan Matlab. Matlab vs Perl. General purpose programming PDL is an extension of Perl

varden
Download Presentation

Plotting in Perl

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Plotting in Perl Yu-Tzu Chou 499440419Earth Science 103

  2. Geophysics Needing to do: • Graphing • Plotting • Contours Use: • Radan • Matlab

  3. Matlabvs Perl • General purpose programming • PDL is an extension of Perl • Most syntax differences between Matlab & PDL are because of the Perl foundation

  4. Matlab Perl • Vectors • Matrices • Arrays • Has arrays • Piddle- consists of a series of numbers organized as an N-dimensional data. Terminology

  5. Command Window & IDE Perl: • Does not have IDE • It comes with an interactive shell(use a Perl IDE to develop PDL programs)

  6. Writing PDL programs • One popular IDE for Perl is called Padre. It is cross platform and easy to use • A stand-alone PDL program one must start the program with use PDL • This command imports the PDL module into Perl

  7. Codes

  8. Plotting and Graphics • In Perl it relies on the third-party libraries for the 2D or 3D graphing • In Matlab it takes up quite some space for a data and takes time to load

  9. Matlab

  10. Perl

  11. Reference • http://pdl.perl.org/?docs=Graphics/PLplot&title=PDL::Graphics::PLplot • http://plplot.sourceforge.net/download.php • http://my.safaribooksonline.com/book/programming/perl/9781449358280/4dot-charts-and-graphs-with-gd-graph/id845463#X2ludGVybmFsX0h0bWxWaWV3P3htbGlkPTk3ODE0NDkzNTgyODAlMkZpZDg0NTQyMCZxdWVyeT0=

More Related