gplot

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Plot an object using Gnuplot
+
Plot an object using [[GnuPlot]]
 
|
 
|
 
Arguments: A numeric array
 
Arguments: A numeric array
Line 6: Line 6:
 
Return Value: None. External viewer launched.
 
Return Value: None. External viewer launched.
 
|
 
|
Syntax: gplot(VAL)
+
[[Syntax]]: gplot(object = VAL [, xlow = FLOAT] [, xhigh = FLOAT] [, ylow = FLOAT] [, yhigh = FLOAT])
 
   
 
   
The gplot function passes the specified argument to an external plotting program (gnuplot).  The data is passed as it is stored in memory.
+
'object' - A numeric array to be plotted
 
   
 
   
Similar to [[xplot]]() but doesn't have the ability to specify the x-axis.
+
'xlow' - Optional lower limit on the x dimension to be plotted
|
+
dv> a
+
4x3x2 array of float, bsq format [96 bytes]
+
0.00000 1.00000 2.00000 3.00000
+
4.00000 5.00000 6.00000 7.00000
+
8.00000 9.00000 10.0000 11.0000
+
 
   
 
   
0.182232        0.0875750      0.336909        0.376527
+
'xhigh' - Optional upper limit on the x dimension to be plotted
0.819487        0.218594        0.0555539      0.592581
+
0.280313        0.960312        0.0637262      0.452250
+
 
   
 
   
  dv> gplot(a[,,1])
+
'ylow' - Optional lower limit on the y dimension to be plotted
 +
 +
'yhigh' - Optional upper limit on the y dimension to be plotted
 +
 +
The gplot function passes the specified argument to an external plotting program (GnuPlot).  The data is passed as it is stored in memory.
 +
 +
Similar to [[xplot]]() but doesn't have the ability to specify the x-axis.  Is capable of specifying limits to the plot.
 +
 +
None of the functions listed by [[plot_functions]] will operate on a gplot graph.
 +
|
 +
dv> a
 +
2x131x1 array of float, bsq format [1,048 bytes]
 +
 
 +
  dv> gplot(a[1],40,60,0.1,.9)
 
|
 
|
[[Image:gplot.png]]
 
 
|
 
|
 
|
 
|

Latest revision as of 10:42, 27 March 2006



Description

Plot an object using GnuPlot

Arguments and Return Values

Arguments: A numeric array

Return Value: None. External viewer launched.

Usage

Syntax: gplot(object = VAL [, xlow = FLOAT] [, xhigh = FLOAT] [, ylow = FLOAT] [, yhigh = FLOAT])

'object' - A numeric array to be plotted

'xlow' - Optional lower limit on the x dimension to be plotted

'xhigh' - Optional upper limit on the x dimension to be plotted

'ylow' - Optional lower limit on the y dimension to be plotted

'yhigh' - Optional upper limit on the y dimension to be plotted

The gplot function passes the specified argument to an external plotting program (GnuPlot). The data is passed as it is stored in memory.

Similar to xplot() but doesn't have the ability to specify the x-axis. Is capable of specifying limits to the plot.

None of the functions listed by plot_functions will operate on a gplot graph.

Examples

dv> a
2x131x1 array of float, bsq format [1,048 bytes]
dv> gplot(a[1],40,60,0.1,.9)

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: 03-27-2006

Personal tools