GmtPy R748


 Sponsored links


 Sponsored links
License:
Apache
Category:
Developer Tools
Publisher:
Sebastian-Heimann
Size:
28 KB
Last Updated:
2013-10-11
Operating System:
Mac OS X
Price:
FREE
Download
Publisher's description - GmtPy R748
 
 Sponsored links

GmtPy provides seamless integration of GMT plotting into Python programs. On top of that it provides (in an opt-in fashion): automatic tick increment determination, layout management, autoscaling, and more.

GMT is a great plotting system, which is capable of producing high quality EPS graphics. As a collection of command line tools it is well suited for integration into automatic data-processing applications.

However, for such a task, the use of shell scripts is by far no optimal choice. Fortunately, GMT can as well be driven from any high level programming language like in this case Python.

Here are some key features of "GmtPy":

Thin and generic wrapper to GMT command execution:
· GMT commands, options and arguments are formed directly from method calls and method arguments by a clear and simple scheme. Although this attempt does not cure the ugly naming of GMT option arguments, this way it is transparent to the user and there is no need for any additional documentation to the GMT commands.

Plain functional wrapping, no OO interface:
· Wrapping GMT into an object oriented interface would be appealing, but making it complete would require not only a lot of code, but also a vast amount of documentation. Rewriting GMT would be more straight forward, when this was the goal.

Portability and consistency assistance:
· GmtPy uses its own consistent built-in set of GMT default parameters, such that running a GmtPy script on a different machine, or from a different user account should not change the appearance of the output graphics. But the script can of course override the GMT default parameters as needed.

Encapsulation and parallel execution:
· GmtPy automatically maintains a temporary directory for each plot to be produced. When possible, GMT`s `isolation mode` is activated and tied to the plot`s temporary directory. If used properly, this makes it painless to parallel execute several instances of a GmtPy script or to do GMT plotting in a multithreaded application.

GMT version selection and backward compatibility:
· Parallel installations of different versions of GMT can be used. With GmtPy it is simple to select the GMT version to be used on a per plot basis.

Autoscaling as opt-in:
· A highly configurable autoscaler is provided. It features automatic range calculations, automatic nice tick increment determination, labeling assistance, scaled ax annotations and some convenience options such as snap-range-to-ticks, symmetric scaling and fixing the aspect ratio.

Layout management as opt-in:
· An object oriented layout management system may be used to conveniently distribute subplots on a page. In its design, it is similar to the layout systems provided in various GUI toolkits. Different layout managers may be arbitrarily nested for further flexibility.

· Shortcut for fixing the bounding box in the output files
· Shortcut for PDF output

Requirements:

· Python


 

Also See ...
Source Code Counter

Source Code Counter
Learn PhalconPHP

Learn PhalconPHP
PHP From Scratch

PHP From Scratch
Del

Del
QuickLens

QuickLens



More
Crazy Shipping

Crazy Shipping
Speed Bike Racer 3D 2014 HD

Speed Bike Racer 3D 2014 HD
Running Coach`s Clipboard Lite

Running Coach`s Clipboard Lite
RoboTron 2014 - A Robotic Real Car by Top Fun & Best Free games

RoboTron 2014 - A Robotic Real Car by Top Fun & Best Free games
Mermaid Spa & Makeover

Mermaid Spa & Makeover



Mac App
Document Icon Maker

Document Icon Maker
WeatherAlert

WeatherAlert
MacPay Business Edition 4.0.14

MacPay Business Edition 4.0.14
Troll Science 0.3

Troll Science 0.3
TicTacToe 1.2

TicTacToe 1.2