Method poin3
| Improve this Doc View Sourcepoin3(Double[], Double[], Double[], Char)
plpoin3: Plot a glyph at the specified 3D points
Declaration
public void poin3(Double[] x, Double[] y, Double[] z, char code)
Parameters
Type | Name | Description |
---|---|---|
Double[] | x | A vector containing the x coordinates of points. |
Double[] | y | A vector containing the y coordinates of points. |
Double[] | z | A vector containing the z coordinates of points. |
System.Char | code | Hershey symbol code (in "ascii-indexed" form with -1 lt= code lt= 127) corresponding to a glyph to be plotted at each of the n points. |
Remarks
Plot a glyph at the specified 3D points. (This function is largely superseded by plstring3 which gives access to many[!] more glyphs.) Set up the call to this function similar to what is done for plline3. code=-1 means try to just draw a point. Right now it's just a move and a draw at the same place. Not ideal, since a sufficiently intelligent output device may optimize it away, or there may be faster ways of doing it. This is OK for now, though, and offers a 4X speedup over drawing a Hershey font "point" (which is actually diamond shaped and therefore takes 4 strokes to draw). If 0 lt code lt 32, then a useful (but small subset) of Hershey symbols is plotted. If 32 lt= code lt= 127 the corresponding printable ASCII character is plotted.