Iplotclaw for interactive plotting in python

15 views
Skip to first unread message

Randy LeVeque

unread,
Jul 28, 2008, 1:39:45 PM7/28/08
to claw-dev
I've added a module Iplotclaw (in claw/python/Iplotclaw.py) to provide
a looping mechanism for viewing Clawplack plots in python, similar to
plotclawN.m for N-dim data in Matlab.

This uses the matplotlib commands, so this must be available in your
python.

To use it, make sure claw/python is in your PYTHONPATH and then
>>> import Iplotclaw
>>> pc = Iplotclaw.Iplotclaw() # new instantiation
>>> pc.plotloop() # to start looping
PLOTCLAW > help # for list of available
commands
PLOTCLAW > q # to quit looping and return
to python
>>> pc.plotloop() # to restart looping at
previous frame,
# with data,
outdir, etc. preserved.

This is in the svn repository, not yet in the tar file.
- Randy

Aron Ahmadia

unread,
Dec 23, 2012, 2:52:34 PM12/23/12
to claw...@googlegroups.com
Hi Himanshu,

Are you using Clawpack 4.6 or the clawpack development packages?

If you just want the Python-based development packages, we recommend using pip or easy_install to install visclaw -- you may need to use sudo if you are installing to your system instead of a user location.  

The command line is:

pip install clawpack

or

easy_install clawpack

You will also need a git installed on your system.  

Let me know if this doesn't work for you or you are working from a 4.6 distribution, as the requirements are slightly different.

Cheers,
Aron


On Sun, Dec 23, 2012 at 4:08 AM, Himanshu <himansh...@iitgn.ac.in> wrote:
How to make sure that claw/python is in our pythonpath can you please explain it since i am new to clawpack..
thanks...

--
You received this message because you are subscribed to the Google Groups "claw-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/claw-dev/-/pHM3aS5R94AJ.
To post to this group, send email to claw...@googlegroups.com.
To unsubscribe from this group, send email to claw-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/claw-dev?hl=en.


Randall J LeVeque

unread,
Dec 23, 2012, 4:54:30 PM12/23/12
to claw...@googlegroups.com

Himanshu Sharma 12210043

unread,
Dec 24, 2012, 1:14:44 AM12/24/12
to claw...@googlegroups.com
hi,
i have downloaded clawpack 4.6.2 and if you suggest i will unintall this and install a lower grade verison please tell me how to uninstall it. Do i need to install ATLAS/LAPACK  also actually when i am giving the command "make .plots" its giving me the error that "matplotlib" not present rest all is working fine. please help how to rectify this error in detailed way since i have never used opensource code before

Thanks
Regards
Himanshu Sharma

Kyle Mandli

unread,
Dec 24, 2012, 4:49:19 PM12/24/12
to claw...@googlegroups.com
If you have clawpack 4.6.2 then follow Randy's directions at http://www.clawpack.org/users-4.6/installing.html#setting-environment-variables.  This will include the Iplotcalw script once setup.

Kyle
Reply all
Reply to author
Forward
0 new messages