1
# -*- Mode: Shell-Script -*- Not really, but shows comments correctly
2
#***************************************************************************
4
# Configuration file for ipython -- ipythonrc format
6
# The format of this file is one of 'key value' lines.
7
# Lines containing only whitespace at the beginning and then a # are ignored
8
# as comments. But comments can NOT be put on lines with data.
9
#***************************************************************************
11
# This is an example of a 'profile' file which includes a base file and adds
12
# some customizaton for a particular purpose.
14
# If this file is found in the user's ~/.ipython directory as
15
# ipythonrc-numeric, it can be loaded by calling passing the '-profile
16
# numeric' (or '-p numeric') option to IPython.
18
# A simple alias numpy -> 'ipython -p numeric' makes life very convenient.
20
# This example is meant to load several modules to turn IPython into a very
21
# capable environment for high-end numerical work, similar to IDL or MatLab
22
# but with the beauty and flexibility of the Python language.
24
# Load the user's basic configuration
29
# Load Numeric by itself so that 'help Numeric' works
33
# GnuplotRuntime loads Gnuplot and adds enhancements for use in IPython
34
import_all Numeric IPython.numutils IPython.GnuplotInteractive
36
# a simple line at zero, often useful for an x-axis
37
execute xaxis=gpfunc('0',title='',with='lines lt -1')
39
# Below are optional things off by default. Uncomment them if desired.
41
# MA (MaskedArray) modifies the Numeric printing mechanism so that huge arrays
42
# are only summarized and not printed (which may freeze the machine for a
48
# gracePlot is a Python interface to the plotting package Grace.
49
# For more details go to: http://www.idyll.org/~n8gray/code/index.html
50
# Uncomment lines below if you have grace and its python support code
53
#execute grace = gracePlot.gracePlot # alias to make gracePlot instances
54
#execute print '*** grace is an alias for gracePlot.gracePlot'