pro help_offsets, hc=hc, eps=eps, file=file
;+
;NAME:
;	help_offsets
;PURPOSE:
;	To display the SXT xray/NB/WB offsets
;OPTIONAL KEYWORD INPUT:
;	hc	- If set, make a hardcopy of the plot
;RESTRICTIONS:
;	It must be run to either X window or PS device
;HISTORY:
;	Written 6-Jan-94 by M.Morrison
;-
;
xsiz = 6.25
ysiz = 3.5
f = 0.95
if (keyword_set(hc) or (!d.name eq 'PS')) then begin
    set_plot, 'ps
    device, xsize=xsiz , ysize=ysiz , /inches
    if (keyword_set(eps)) then device, /encapsulated
    f = 0.75
end else begin
    win_xsiz=xsiz*100
    win_ysiz=ysiz*100
    qmake_window = 0
    if (!d.window eq -1) then qmake_window = 1
    if ((!d.x_size ne win_xsiz) or (!d.y_size ne win_ysiz)) then qmake_window=1
    if (qmake_window) then wdef, win, win_xsiz, win_ysiz, /ur else wshow
end
;
if (keyword_set(file)) then begin & device, /close & device, file=file(0) & end
;
!p.region = [0,0,1,1]
!p.position = [0,0,1,1]
;
yrange = [0, 50]
xrange = [-0.5,0.5]*yrange(1)*xsiz/ysiz
plot, fltarr(2), fltarr(2), yrange=yrange, xrange=xrange, /nodata, xstyle=1+4, ystyle=1+4
;
xcir = cos(findgen(200)/199*2*!pi) * 15
ycir = sin(findgen(200)/199*2*!pi) * 15
cc = [21,21]
xbox = [-21,21,21,-21,-21]
ybox = [-21,-21,21,21,-21]
;
plot, fltarr(2), fltarr(2), yrange=yrange, xrange=xrange, /nodata, xstyle=1+4, ystyle=1+4
;
x0 = 0
y0 = max(yrange)/2
yy0 = y0 + 4
ang1 = 0
dx = 1
dy = 4
oplot, x0+xcir, yy0+ycir
oplot, x0+[-15,15]*cos(ang1), yy0+[-15,15]*sin(ang1), linestyle=1
oplot, x0+[-15,15]*sin(ang1), yy0+[15,-15]*cos(ang1), linestyle=1
xyouts, x0-15*sin(ang1)*1.05, yy0+15*cos(ang1)*1.05, 'Solar-North', siz=1.5*f
xyouts, x0-17, yy0, 'E', siz=1.5*f, align=0.5
xyouts, x0+17, yy0, 'W', siz=1.5*f, align=0.5
xyouts, x0, yy0-18, 'S', siz=1.5*f, align=0.5
;
polyfill, x0+xcir/40,    yy0+ycir/40, /data		& xyouts, x0, yy0-4, 'XR', size=1.4*f
polyfill, x0+xcir/40+dx, yy0+ycir/40+dy, /data		& xyouts, x0+x0+3, yy0+dy, 'WB', size=1.4*f
polyfill, x0+xcir/40-dx, yy0+ycir/40+dy, /data		& xyouts, x0-x0-5, yy0+dy, 'NB', size=1.4*f

xyouts, 0, y0-20, size=1.3*f, align=0.5, 'XR=X-Ray, NB=Narrow Band, WB=Wide Band'
xyouts, 0, y0-22, size=1.3*f, align=0.5, 'Locations not marked to scale'
end

