pgkyl gk_nodes

Usage: pgkyl gk_nodes [OPTIONS]

  Plot the nodes of a (possibly multiblock) grid, with optional overlays.

Options:
  -n, --name TEXT              Simulation name (also the file prefix).  [required]
  -p, --path TEXT              Directory holding the simulation output.  [default: ./]
  -m, --multib TEXT            ``"-10"`` (default) for a single block; ``"-1"`` to
                               discover every block; otherwise a comma list or
                               ``'start:stop[:step]'`` slice of block indices.
                               [default: -10]
  --nodes_file TEXT            Override for the ``<name>-nodes.gkyl`` grid-nodes file
                               (``*`` stands for the block index); an absolute path is
                               used as-is.
  --psi_file TEXT              Optional poloidal-flux file to overlay (interpolated p2
                               tensor basis); an absolute path is used as-is.
  -w, --wall_file TEXT         Optional CSV ``(R, Z)`` vacuum-vessel wall outline to
                               overlay.
  -c, --contour [BOOLEAN]      Draw ``psi_file`` as contour lines instead of a
                               colormesh.  [default: False]
  --clevels TEXT               Contour levels: comma-separated values, or a
                               ``'start:stop:nlevels'`` range; defaults to ``cnlevels``
                               automatic levels when ``None``.
  --cnlevels INTEGER           Number of automatic contour levels (ignored if
                               ``clevels`` is given).  [default: 11]
  -f, --fixaspect [BOOLEAN]    Enforce equal R/Z scaling (unused placeholder kept for
                               interface symmetry with the old CLI's ``--fix_aspect``;
                               the figure is already built to the data's aspect ratio).
                               [default: False]
  -x, --xlim <FLOAT FLOAT>...  Optional horizontal-axis limits.
  -y, --ylim <FLOAT FLOAT>...  Optional vertical-axis limits.
  --xlabel TEXT                Horizontal-axis label.  [default: R (m)]
  --ylabel TEXT                Vertical-axis label.  [default: Z (m)]
  -z, --zlabel TEXT            Poloidal-flux colorbar label.  [default: $\psi$]
  -t, --title TEXT             Figure title.
  -i, --indent_left FLOAT      Horizontal axes-position adjustment in figure units.
                               [default: 0.0]
  -a, --add_width FLOAT        Axes-width adjustment in figure units.  [default: 0.0]
  --multib_unicolor [BOOLEAN]  Use one color for every block instead of cycling.
                               [default: False]
  -s, --show [BOOLEAN]         Call ``plt.show()`` before returning.  [default: False]
  --saveas TEXT                If given, save the figure to this path.
  --help                       Show this message and exit.

Python API