Draws a text string on the viewport.
txt = Ngl.text_ndc(wks, text, x, y, res=None)
The identifier returned from calling Ngl.open_wks.text
The text string.x, y
The NDC coordinates of the text string.res=None
An (optional) instance of the Resources class having TextItem resources as attributes.
A PlotId of the text object created.
This procedure draws a text string on the viewport of the requested workstation. x and y are scalars defining the coordinates of the text string in NDC space, and resources can optionally contain an unlimited number of attributes that are resource names and their values.
The frame is not advanced when you call this procedure, so you need to call Ngl.frame yourself if you want to advance the frame.
Missing values are not allowed in this procedure.