splot

From DavinciWiki
Jump to: navigation, search


Description

Surface Plot. splot() sends 2-d data arrays to Gnuplot for plotting.

Arguments and Return Values

Arguments: numeric arrays and optional name string and flags (see below)

Return Value:optional string containing the often lengthy Gnuplot command. GnuPlot is launched and displays graph.

Usage

Syntax: splot(object1[, label=STRING][, pm3d=INT][, xscale=FLOAT][, yscale=FLOAT])

label: A string to use as the name of the plot object. Does not need to be specifically called. An undefined string in the command buffer will be used as the label.
pm3d: A flag to color the plot by height. Default is 0.
xscale: A scalar multiplier to convert x-pixels to units.
yscale: A scalar multiplier to convert y-pixels to units.

Examples

dv> a=read("mola.cub")
1517x943x1 array of short, bsq format [2,861,062 bytes]

dv> splot(a[::10,::10],pm3d=1)

Images

splot.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 10-01-2009

Personal tools