label

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
Return Value: None. The label is added to the plot.
 
Return Value: None. The label is added to the plot.
 
|
 
|
[[Syntax]]: label($1 = INT, $2 = INT, $3 = STRING, [$4 = STRING])
+
[[Syntax]]: label(x pos, y pos, label [, justification])
 
   
 
   
$1 - The x position of the label in the plot
+
'x pos' - The x position of the label in the plot
 
   
 
   
$2 - The y position of the label in the plot
+
'y pos' - The y position of the label in the plot
 
   
 
   
$3 - The label text
+
'label' - The label text
 
   
 
   
$4 - Justification 'left','right', or 'center'. Left justified is default.
+
'justification' - Justification 'left','right', or 'center'. Left justified is default.
 
|
 
|
 
  dv> xplot(a[,100,1])
 
  dv> xplot(a[,100,1])

Revision as of 10:59, 27 March 2006


Description

Print a label on the plot

Arguments and Return Values

Arguments: Position values in the plot and the text to be inserted

Return Value: None. The label is added to the plot.

Usage

Syntax: label(x pos, y pos, label [, justification])

'x pos' - The x position of the label in the plot

'y pos' - The y position of the label in the plot

'label' - The label text

'justification' - Justification 'left','right', or 'center'. Left justified is default.

Examples

dv> xplot(a[,100,1])

dv> label(100,100,"a label")

Images

label.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 02-15-2006
Modified On: 01-17-2008

Personal tools