IMG_PLOT Name
IMG_PLOT Purpose
Plot on a 24-bit image without using X windows.
Category
Calling Sequence
img2 = img_plot(img1,x,y) Inputs
img1 = Original image. in
x,y = x,y arrays to plot. in
Keyword Parameters
Keywords
COLOR=clr Plot color.
May also be a 3 element array: [R,G,B].
THICK=thk Curve thickness *def=!p.thickness).
CHARSIZE=csz Text size (def=!p.charsize).
CHARTHICK=cthk Text Thickness (def=!p.charthick).
POSITION=pos plot position in normalized coordinates.
/DEVICE means pos is in device coordinates.
/ANTIALIASED means do antialiasing. A bit slower.
ERROR=err Error flag: 0=ok.
Outputs
img2 = returned image. out
Common Blocks
Notes
Note: uses Z buffer, save a copy before if using Z.
XTHICK and YTHICK control the thickness of the axes
but either one will control both. They are not
independent in this routine. Also antialiased
LINESTYLE will not exactly match normal linestyle.
Modification History
R. Sterner, 2002 Jul 15
R. Sterner, 2007 Feb 05 --- Made sure background is 0.
R. Sterner, 2010 May 12 --- Converted arrays from () to [].
Copyright (C) 2002, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.