Scalar Field Examples

The Scalar field command works with two-dimensional regular grids.

  • Regular Uniform
  • Non-uniform Rectilinear
  • Curvilinear Grid

Download the example files to see how the following graphs are made.

Uniform Grid

The Scalar Field is used to represent a 10×10 uniform grid of data in three columns (x,y,z). A Color Ramp variable provides the color.

Download: Scalar-Field–XYZ-with-Labels.dgraph

Uniform vs. Non-uniform

The Scalar Field is used to represent a column of numbers on a uniform (Cartesian) and a non-uniform grid (rectilinear). Each image below uses the same data (z-direction), but the data are mapped to different x-y locations.

Download: Scalar-Field–Vary-Layout.dgraph

Random Field

The Scalar Field is demonstrated for a random field of 100×100 uniform grid size (x,y, and z data). A Color Ramp Legend is also displayed on the graph.

Download: Scalar-Field–Random-with-ColorRamp.dgraph

Volcano with Contours

The Scalar Field is used to draw example topographic data from the dataset, volcano (sample dataset in R). Contours are also added along with a Color Ramp Legend.

DataGraph Examples: CONTOUR LINES & COLOR RAMPS. Access by opening DataGraph.

Logarithmic Data

The Scalar Field is used to visualize a randomly sampled, log-uniform distribution. To do this, the Color Ramp variable Transition menu is set to ‘Logarithmic’ to appropriately represent the data.

Download: Scalar-Field–Logarithmic-Scale.dgraph

Microarray Data

The Scalar Field command is used to visualize a microarray data set. In this case, ‘y’ is a text column (categorical variable) and the text is used to label the y-axis.

Download: Scalar-Field–Microarray-Data.dgraph

Trippy!

The Scalar Field command is used to create a square grid, represent values using a Color ramp, and draw contours. The grid is also mapped into other shapes (circle, twist, cone).

Download: Scalar-Field–Trippy.dgraph

Related Articles