pro dummyplots,x=x,y=y 
!QUIET=1
; called by utplot to set up plot system variables without actually drawing
; plot.  Used to find out what the exact x limits of the plot will be.
; Written by Richard Schwartz, Feb. 19991
;
checkvar,y,x*0.0 ;if no y then set y to zero of length x
XSTYLEOLD=!X.STYLE
YOLD=!Y
!X.STYLE=XSTYLEOLD OR 4L
!Y.STYLE=YOLD.STYLE OR 4L
old_device=!d.(0)
set_plot,'null
plot,x,y,/noeras,/nodata
set_plot,old_device
!X.STYLE=XSTYLEOLD
!Y=YOLD
;LIMITS DETERMINED
return
end


