Ngl.polymarker_ndc
Draws polymarkers on the viewport.
Prototype
Ngl.polymarker_ndc(wks, x, y, res=None)
Arguments
wksThe identifier returned from calling Ngl.open_wks.
x, yScalars, one-dimensional (masked) NumPy arrays, or Python lists containing the x, y NDC coordinates of the polymarkers.
res=NoneAn (optional) instance of the Resources class having GraphicStyle resources as attributes.
Return value
NoneDescription
This procedure draws polymarkers on the viewport of the requested workstation. x and y are 1-dimensional arrays defining the coordinates of the polymarkers in NDC space, and resources can optionally contain an unlimited number of GraphicStyle 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.
As of version 1.3.0, there is automatic handling of missing data if one or both of the input arrays are masked arrays. Missing data will not be plotted.
See Also
Ngl.polyline_ndc, Ngl.polygon_ndc, Ngl.add_polymarker, Ngl.polymarker, Ngl.draw_ndc_grid
Examples
See the example scatter1.py and its output.