This is plstik.c in view mode; [Download] [Up]
/* Draws a slanting tick at position (mx,my) (measured in mm) of */ /* vector length (dx,dy) */ #include "plplot.h" void plstik(mx,my,dx,dy) double mx, my, dx, dy; { draphy(mmpcx(mx),mmpcy(my)); draphy(mmpcx((mx+dx)),mmpcy((my+dy))); draphy(mmpcx(mx),mmpcy(my)); }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.