HyperWorks Desktop

*Position() - legends

Specifies the location of a legend in a plot window.

*Position() - legends

Specifies the location of a legend in a plot window.

Previous topic Next topic No expanding text in this topic  

*Position() - legends

Specifies the location of a legend in a plot window.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*Position(X1, Y1, X2, Y2)

Arguments

Name

Description

 

X1

The X coordinate of the upper left corner of the legend in real coordinates.

 

Y1

The Y coordinate of the upper left corner of the legend in real coordinates.

 

X2

An optional argument indicating the X coordinate of the lower right corner of the legend in real coordinates.

 

Y2

An optional argument indicating the Y coordinates of the lower right corner of the legend in real coordinates.

Example

*BeginPlot()

 • • •

   *BeginLegend(On)

      *Font("helvetica", 0, 0, 12)

      *Position(1.2, 0)

      *BorderWidth(1)

   *EndLegend()

 • • •

*EndPlot()

Application

HyperGraph.

Context

*BeginLegend()

*BeginPlot()

Report Definitions

Comments

If X2, Y2 are omitted, the legend is centered at X1, Y1.  If X2 and Y2 are specified, the legend is centered inside the X1, Y1, X2, Y2 region.

See also

 

*Attach() - Plot

*BeginNote()

*BeginText()

*CurveAttachment()

*Font()

*NoteAlignment()

*Position() – datum lines

*Position() - notes_

*Text()

List of Session Statements