logo4 Evolution is progress—                          
progress is creativity.        
vline

Creole Plot Macro

view wiki view wiki view wiki view wiki

The creole plot macro translates the body of the macro into a code fragment, that is executed to create the picture.

Usage

<<mathplot title="Image Title" show_source=True>>
def set_figure(fig):    
   ax=fig.add_subplot(1,1,1)
# add some functions
<</mathplot>>

Examples

[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']

The following example is copied from here.

[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']

The following example is copied from here.

[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']

The website http://matplotlib.sourceforge.net/api/axes_api.html#module-matplotlib.axes provides a whole collection of additional examples.

[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']

Tags: Software

 
   

(c) Mato Nagel, Weißwasser 2004-2024, Disclaimer