Navigation:  Reference > Detailed Function Description > Working with DPlot Documents >

FNDPlot_unilabel

 

Previous pageReturn to chapter overviewNext page

 

DEF FNDplot_unilabel(INTEGER Doc_num,Labelid$,X,Y,Text$,OPTIONAL Font$,Codepage,Height,Whratio,L_dir,Colour)

!

! Displays/registers/unregisters a LABEL at the specified position.

! Supports Japanese characters through codepage 128

!

!  INPUT:  Doc_num  = Document number

!                      Special internal modes: Doc_num>10000 -> un-register label

!                                              Doc_num<0: Display all labels for this document

!          Labelid$ = ID of Label:

!                      "Title1": Diagram Title 1

!                      "Title2": Diagram Title 2

!                      "Title3": Diagram Title 3

!                      "Title4": Diagram Title 4

!

!                      "Xaxis":  x axis label for 2D diagrams

!                      "Yaxis":  y axis label for 2D diagrams

!                      "Y2axis": 2nd y axis label for 2D diagrams

!                      "Common": Common label at arbitrary screen position

!

!          X        = x position in window units *

!          Y        = y position in window units *

!          Text$    = The label text

!          Font$    = Optional font name to be used for LABEL

!          Codepage = Desired codepage, e.g. 128 for Japanese

!          Height   = LABEL Height (1st parameter for CSIZE command)

!          Whratio  = Width/Height RATIO (2nd parameter for CSIZE command)

!          L_dir    = LDIR parameter (Value=angle in degree; for parameter see LDIR command)

!          Colour   = Desired PEN for LABEL

!

! * Window units here are always 0,100,0,100 !

 

FNDplot_unilabel  displays diagram titles, and axis labels which are unicode capable. Every call of DPlot_show will automatically display all previously defined titles/labels. FNDplot_autosize is also supported.

 

Info3

Please note: Due to technical reasons the function FNDplot_unilabel does only work in 256 color mode.

Details: "How do I... ? -> Appearance -> 256 color mode vs. high color mode".