Editing
Tutorial - Users 2 - Plotting
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Madagascar also has a robust package of tools for plotting the results of your computations in multi-dimensions! These plots are created using a vector plotting library originally developed by Joe Dellinger at SEP called VPLOT. VPLOT provides a method for making plots that are small in size, aesthetically pleasing, and easily compatible with Latex for rapid creation of production quality images. = VPLOT file format = The VPLOT file format ('''.vpl suffix''') is a self-contained binary data format that describes how to draw the plot on the screen using an interpreter. Since VPLOT is not a standard imaging format, VPLOT files must be viewed with third-party interpreters which we call '''pens'''. Each '''pen''' interfaces VPLOT with a third-party graphing library such as X11, plplot, opengl, and others. This flexibility makes VPLOT files almost as portable as standard image formats such as: jpeg, png, and gif. Unlike rasterized formats, VPLOT files can be scaled to any size without losing image quality. This feature alone makes VPLOT worth the work, because you don't have to regenerate your images each time you want to change their size! = Plotting programs = To generate VPLOT files, we need to pass our computed RSF files through vplot filters, that convert RSF files to VPLOT files. The vplot filters are named by the type of plot that they produce. The full list of available vplot filters is: *sfgraph - *sfgrey *sfgrey3 *sfbyte *sfbox *sfcontour *sfcontour3 *sfcubeplot <bash> sfgrey < junk.rsf > junk.vpl </bash>
Summary:
Please note that all contributions to Madagascar are considered to be released under the GNU Free Documentation License 1.3 or later (see
My wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Getting Madagascar
download
Installation
GitHub repository
SEGTeX
Introduction
Package overview
Tutorial
Hands-on tour
Reproducible documents
Hall of Fame
User Documentation
List of programs
Common programs
Popular programs
The RSF file format
Reproducibility with SCons
Developer documentation
Adding programs
Contributing programs
API demo: clipping data
API demo: explicit finite differences
Community
Conferences
User mailing list
Developer mailing list
GitHub organization
LinkedIn group
Development blog
Twitter
Slack
Tools
What links here
Related changes
Special pages
Page information