Catalog of Functionality > PV-WAVE Foundation > Graphics and Plotting
  

Graphics and Plotting
Coordinate Conversion Routines
CONVERT_BASE
Converts a base-10 integer to an arbitrary base representation.
CONVERT_COORD
Converts coordinates from one coordinate system to another.
CONV_FROM_RECT
Converts rectangular coordinates (points) to polar, cylindrical, or spherical coordinates.
CONV_TO_RECT
Converts polar, cylindrical, or spherical coordinates to rectangular coordinates (points).
POLY_DEV
Returns a list of 3D points converted from normal coordinates to device coordinates.
POLY_NORM
Returns a list of 3D points converted from data coordinates to normal coordinates.
POLY_TRANS
Returns a list of 3D points transformed by a 4-by-4 transformation matrix.
General Graphics Routines
CPROD
Returns the Cartesian product of some arrays.
CURSOR
Reads the position of the interactive graphics cursor from the current graphics device.
DERIVN
Differentiates a function represented by an array.
DEVICE
Provides device-dependent control over the current graphics device (as specified by the SET_PLOT procedure).
EMPTY
Causes all buffered output for the current graphics device to be written.
ERASE
Erases the display surface of the currently active window.
IMAGE_CONT
Standard Library procedure that overlays a contour plot onto an image display of the same array.
MOVIE
Standard Library procedure that shows a cyclic sequence of images stored in a three-dimensional array.
PLOTS
Plots vectors or points on the current graphics device in either two or three dimensions.
PROFILE
Standard Library function that extracts a profile from an image.
PROFILES
Standard Library procedure that lets you interactively draw row or column profiles of the image displayed in the current window. The profiles are displayed in a new window, which is deleted when you exit the procedure.
RDPIX
Standard Library procedure that displays the X, Y, and pixel values at the location of the cursor in the image displayed in the currently active window.
SCALE3D
Standard Library procedure that scales a three-dimensional unit cube into the viewing area.
SET_PLOT
Specifies the device type used by PV‑WAVE  graphics procedures.
SHOW3
Standard Library procedure that displays a two-dimensional array as a combination contour, surface, and image plot. The resulting display shows a surface with an image underneath and a contour overhead.
T3D
Standard Library procedure that accumulates one or more sequences of translation, scaling, rotation, perspective, or oblique transformations and stores the result in the system variable !P.T.
THREED
Standard Library procedure that plots a two-dimensional array as a pseudo three-dimensional plot on the currently selected graphics device.
TVCRS
Manipulates the cursor within a displayed image, allowing it to be enabled and disabled, as well as positioned.
XYOUTS
Draws text on the currently selected graphics device starting at the designated data coordinate.
ZOOM
Expands and displays part of an image (or graphic plot) from the current window in a second window.
Gridding Routines
FAST_GRID2
Returns a gridded, 1D array containing Y values, given random X,Y coordinates (this function works best with dense data points).
FAST_GRID3
Returns a gridded, 2D array containing Z values, given random X, Y, Z coordinates (this function works best with dense data points).
FAST_GRID4
Returns a gridded, 3D array containing intensity values, given random 4D coordinates (this function works best with dense data points).
GRID_2D
Returns a gridded, 1D array containing Y values, given random X,Y coordinates (this function works best with sparse data points).
GRID_3D
Returns a gridded, 2D array containing Z values, given random X, Y, Z coordinates (this function works best with sparse data points).
GRID_4D
Returns a gridded, 3D array containing intensity values, given random 4D coordinates (this function works best with sparse data points).
GRIDN
Grids n dimensional data.
GRID_SPHERE
Returns a gridded, 2D array containing radii, given random longitude, latitude, and radius values.
INTERPOLATE
Interpolates scattered data at scattered locations.
Mapping Routines
MAP
Plots a map.
MAP_CONTOUR
Draws a contour plot from longitude/latitude data stored in a 2D array.
MAP_LAND
For each map pixel, identify longitude, latitude, and cover type.
MAP_PLOTS
Plots vectors or points (specified as longitude/latitude data) on the current map projection.
MAP_POLYFILL
Fills the interior of a region of the display enclosed by an arbitrary 2D polygon.
MAP_REVERSE
Converts output from routines like CURSOR and WtPointer from device, normal, or data coordinates to longitude and latitude coordinates.
MAP_VELOVECT
Draws a two-dimensional velocity field plot on a map, with each directed arrow indicating the magnitude and direction of the field.
MAP_XYOUTS
Draws text on the currently selected graphics device starting at the designated map coordinate.
USGS_NAMES
Queries a database containing names, FIPS codes, and longitude/latitude values for cities and towns in the United States. Plots a map.
Plotting Routines
AXIS
Draws an axis of the specified type and scale at a given position.
BAR
Plots a 2D bar graph that can include stacked and grouped bars, as well as various color and fill pattern options.
BAR2D
Creates a two-dimensional bar plot.
BAR3D
Creates a three-dimensional bar plot.
BOXPLOT
Creates a standard box plot.
CONTOUR
Draws a contour plot from data stored in a rectangular array.
CONTOUR2
Draws a contour plot from data stored in a rectangular array.
CONTOURFILL
Standard Library procedure that fills both open and closed contours with specified colors or patterns.
CONTOURFS
Provides a wrapper which calls CONTOUR and CONTOURFILL that accepts all CONTOUR and CONTOURFILL keywords with the exceptions of Color_Index.
CORRELOGRAM
Plots a correlogram using either autocorrelation function (ACF) values or partial autocorrelation function (PACF) values.
CURSOR
Reads the position of the interactive graphics cursor from the current graphics device.
CUSUM
Creates a two-sided, V-mask Cumulative Sum chart of a process mean.
ERRPLOT
Standard Library procedure that overplots error bars over a previously-drawn plot.
GRID
Standard Library function that generates a uniform grid from irregularly-spaced data.
IMAGE_CONT
Standard Library procedure that overlays a contour plot onto an image display of the same array.
ISOSURF
Standard Library procedure that computes, and optionally displays, an isosurface of the specified 3D data.
MACHART
Creates a standard or Exponentially Weighted Moving Average (EWMA) chart of a process mean.
OPLOT
Plots vector data over a previously drawn plot.
OPLOTERR
Standard Library procedure that overplots symmetrical error bars on any plot already output to the display device.
PARETO
Creates a PARETO chart with accompanying legend, cumulative percentages and annotations.
PIE
Displays data as a pie chart.
PIE_CHART
Creates a pie chart with colors, text labels, exploded slices and/or shadows.
PLOT
PLOT produces a simple XY plot.
PLOT_HISTOGRAM
Plots a histogram.
PLOT_IO
PLOT_IO produces an XY plot with logarithmic scaling on the Y axis.
PLOT_OI
PLOT_OI produces an XY plot with logarithmic scaling on the X axis.
PLOT_OO
PLOT_OO produces an XY plot with logarithmic scaling on both the X and Y axes.
PLOTERR
Standard Library procedure that plots data points with accompanying symmetrical error bars.
PLOT_FIELD
Standard Library procedure that plots a two-dimensional velocity field.
PLOTS
Plots vectors or points on the current graphics device in either two or three dimensions.
PLOT_WINDROSE
Creates a Wind Rose plot.
POLYFILL
Fills the interior of a region of the display enclosed by an arbitrary two- or three-dimensional polygon.
POLYSHADE
Constructs a shaded surface representation of one or more solids described by a set of polygons.
PROFILE
Standard Library function that extracts a profile from an image.
PROFILES
Standard Library procedure that lets you interactively draw row or column profiles of the image displayed in the current window. The profiles are displayed in a new window, which is deleted when you exit the procedure.
SCALE3D
Standard Library procedure that scales a three-dimensional unit cube into the viewing area.
SET_SHADING
Modifies the light source shading parameters affecting the output of SHADE_SURF and POLYSHADE.
SHADE_SURF
Standard Library procedure that creates a shaded surface representation of a regular or nearly regular gridded surface, with shading from either a light source model or from a specified array of intensities.
SHADE_SURF_IRR
Creates a shaded-surface representation of a semiregularly gridded surface, with shading from either a light source model or from a specified array of intensities.
SHOW3
Standard Library procedure that displays a two-dimensional array as a combination contour, surface, and image plot. The resulting display shows a surface with an image underneath and a contour overhead.
SURFACE
Draws the surface of a two-dimensional array projected into two dimensions, with hidden lines removed.
T3D
Standard Library procedure that accumulates one or more sequences of translation, scaling, rotation, perspective, or oblique transformations and stores the result in the system variable !P.T.
THREED
Standard Library procedure that plots a two-dimensional array as a pseudo three-dimensional plot on the currently selected graphics device.
USERSYM
Lets you create a custom symbol for marking plotted points.
VEL
Standard Library procedure that draws a graph of a velocity field with arrows pointing in the direction of the field. The length of an arrow is proportional to the strength of the field at that point.
VELOVECT
Standard Library procedure that draws a two-dimensional velocity field plot, with each directed arrow indicating the magnitude and direction of the field.
XBAR
Creates an X Bar chart.
XRCHART
Creates an XR chart with an X Bar chart on top and an R chart beneath it.
XSCHART
Creates an XS chart with an X Bar chart on top and an S chart beneath it.
View Setup Routines
CENTER_VIEW
Sets system viewing parameters to display data in the center of the current window (a convenient way to set up a 3D view).
SET_VIEW3D, viewpoint, viewvector, perspective, izoom, viewup, viewcenter, winx, winy, xr, yr, zr
Generates a 3D view, given a view position and a view direction.
T3D
Standard Library procedure that accumulates one or more sequences of translation, scaling, rotation, perspective, or oblique transformation and stores the results in the system variable !P.T.
VIEWER
Lets users interactively define a 3D view, a slicing plane, and multiple cut-away volumes for volume rendering. (Creates a View Control and a View Orientation window in which to make these definitions.)
Window Routines
WCOPY
(Microsoft Windows Only) Copies the contents of a graphics window onto the Clipboard.
WDELETE
Deletes the specified window.
WINDOW
Creates a window for the display of graphics or text.
WMENU
Displays a menu inside the current window whose choices are given by the elements of a string array and which returns the index of the user’s response.
WPASTE
(Microsoft Windows Only) Pastes the contents of the Clipboard into a graphics window.
WPRINT
(Microsoft Windows Only) Prints the contents of a specified window.
WREAD_DIB
(Microsoft Windows Only) Loads a Device Independent Bitmap (DIB) from a file into a graphics window.
WREAD_META
(Microsoft Windows Only) Loads a Windows metafile (WMF) into a graphics window.
WSET
Used to select the current window to be used by the graphics and imaging routines.
WSHOW
Exposes or hides the designated window. It does not automatically make the designated window the active window.
WWRITE_DIB
(Microsoft Windows Only) Saves the contents of a graphics window to a file as a Device Independent Bitmap (DIB).
WWRITE_META
(Microsoft Windows Only) Saves the contents of a graphics window to a file as a Windows metafile (WMF).
3D Visualization Toolkit (VTK) Routines
ISOSURF
Standard Library procedure that computes, and optionally displays, an isosurface of the specified 3D data.
vtkADDATTRIBUTE
Collects point attributes for VTK datasets.
vtkAXES
Creates a set of axes.
vtkBAR
Creates a plot of 3D cylinders.
vtkCAMERA
Changes the camera’s parameters.
vtkCOLORBAR
Adds a color bar legend to a VTK scene using the current PV-WAVE color table.
vtkCLOSE
Closes the VTK process.
vtkCOMMAND
Sends Tcl and VTK commands to the Tcl process.
vtkERASE
Erases the contents of the current VTK window.
vtkGETNAMES
Returns the names of all Lights, Cameras and Actors in a renderer.
vtkGRID
Adds 3D grid lines to a VTK scene.
vtkHEDGEHOG
Creates a HedgeHog (vector) plot.
vtkINIT
Initializes the VTK system.
vtkISOSURFACE
Displays the requested iso surfaces of a volume.
vtkLIGHT
Adds a light to a VTK window.
vtkPLOTS
Adds a polyline.
vtkPOLYDATA
Passes vertex/polygon lists, lines, points, and triangles to VTK.
vtkPOLYSHADE
Renders a polygon object.
vtkPPMREAD
Reads a PPM file.
vtkPPMWRITE
Writes the contents of a VTK window to a PPM file.
vtkRECTILINEARGRID
Passes data describing a Rectiliniar Grid to VTK.
vtkRENDERWINDOW
Renders a VTK window.
vtkSCATTER
Renders 3D points.
vtkSHOW
Shows a 2D array three ways in a display that combines vtkSURFACE, "CONTOUR", and an image map.
vtkSLICEVOL
Creates a sliced 3D volume at specific x, y, z locations.
vtkSTRUCTUREDGRID
Passes data describing a structured grid to VTK.
vtkSTRUCTUREDPOINTS
Passes data describing structured points to VTK.
vtkSURFACE
Renders a surface.
vtkSURFGEN
Generates a 3D surface from sampled points assumed to lie on a surface.
vtkTEXT
Adds a text string.
vtkTVRD
Returns the contents of a VTK window as a bitmapped image.
vtkUNSTRUCTUREDGRID
Passes data describing an unstructured grid to VTK.
vtkWDELETE
Closes a VTK window, however it does not shut down the Tcl process.
vtkWINDOW
Creates a VTK window.
vtkWRITEVRML
Creates a Virtual Reality Modeling Language file (VRML .wrl file) from a scene in a VTK window.
vtkWSET
Sets the active VTK window.
 
VDA Tools Routines
Navigator
Starts the Navigator.
WzAnimate
Starts a VDA Tool used for animating a sequence of images.
WzClose
Closes all VDA tools registered with the Tools Manager.
WzColorEdit
Starts a VDA Tool used for editing the image and plot color tables used in other VDA Tools.
WzContour
Starts a VDA Tool used for plotting contours.
WzExport
Starts a VDA Tool used for exporting a PV‑WAVE variable to an external file in a specified format.
WzHistogram
Starts a VDA Tool used for plotting a histogram.
WzImage
Starts a VDA Tool used for displaying image data.
WzImport
Starts a VDA Tool used for importing data into PV‑WAVE.
WzInit
Initializes the VDA Tools Manager layer.
WzMultiView
Starts a VDA Tool used to display multiple plots.
WzPlot
Starts a VDA Tool used for 2D plotting.
WzPreview
Starts a VDA Tool used to view an ASCII file’s contents and select which parts of the file are to be read in as PV‑WAVE variables.
WzSurface
Starts a VDA Tool used for surface plots.
WzTable
Starts a VDA Tool used for creating an editable 2D array of cells containing string data.
WzVariable
Starts a VDA Tool used for viewing and exporting variables.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.