Difference between revisions of "Plotting API"

From relax wiki
Jump to navigation Jump to search
(→‎Packages: More sectioning)
(Package intro)
Line 1: Line 1:
 
= Packages =
 
= Packages =
 +
 +
The flow of execution for plotting XY-type data in relax is:
 +
 +
* The user function definition in the user_functions.grace module (in the future the user_functions.plotting module).
 +
* The pipe_control.plotting.write_xy() function.
 +
* The lib.plotting functions write_xy_header() and write_xy_data().
 +
  
 
== Package:  user_functions ==
 
== Package:  user_functions ==
 +
 +
  
 
== Package:  pipe_control ==
 
== Package:  pipe_control ==

Revision as of 16:36, 7 February 2015

Packages

The flow of execution for plotting XY-type data in relax is:

  • The user function definition in the user_functions.grace module (in the future the user_functions.plotting module).
  • The pipe_control.plotting.write_xy() function.
  • The lib.plotting functions write_xy_header() and write_xy_data().


Package: user_functions

Package: pipe_control

To use the backend code, you need to import:

from pipe_control.plotting import write_xy


Package: lib