Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To create a line plot of the current field along the z axis, press the "Make a plot of the field along the Z axis" button. The field type for the plot will be the same as the displayed field type.

Macros

When new toolbar features are being developed, prototyped, and tested, we use ParaView's python macros. For CW11, several macros were in place on the euclid cluster. These are not quite ready to run on a standalone installation of ParaView. They will be made available here when ready for release. The current macros are:

  • nextmode (cycles through multiple frequency domain mode files for a common mesh) (this one may be ready by roughly October 25, 2011.)
  • wakeplot (waiting on good way to ask user for input filename)
  • timeFFT (waiting on good way to ask user for input filename)
  • resonant (waiting on good way to ask user for input filename)
  • sparam (this one requires more work and will likely take longest to appear here)

There are 2 ways to install a macro:

Macro Installation via the ParaView GUI

  • download the macro of interest to a known directory. It is a python file, so it should be called yourmacroname.py. In ParaView, click "Macros" -> "Add New Macro", then browse to yourmacroname.py in your known directory and hit "Ok".
  • on running (or reloading) ParaView, the you should see yourmacroname (without the ".py" suffix) in one of the macro toolbars. Clicking the macro name will run the macro.

Macro Installation by copying files

  • Wiki Markup
    ParaView stores macros in one of two places, depending on your operating system.  In windows, it's "%APPDATA%/ParaView/Macros".  For all other operating systems, it's "~/.config/ParaView/Macros".   For windows users, one way to find out where "%APPDATA%" really is, is to run paraview, then "Tools" -> "Python Shell".  Within the python shell, type "import os; print os.environ\['APPDATA'\]".
  • You can then install a macro by copying it's file into the appropriate ParaView/Macros directory for your operating system.
  • on running (or reloading) ParaView, the you should see yourmacroname (without the ".py" suffix) in one of the macro toolbars. Clicking the macro name will run the macro.

Common Tasks

Uniform Grid of Cones

...