Plotting error in IDL 5.5 [message #29650] |
Thu, 28 February 2002 13:26 |
redlmg98
Messages: 6 Registered: August 2001
|
Junior Member |
|
|
Hi,
I have an IDL application that plots some data to a draw_widget -
here are the relevant snippets of code, the application is being run
on IDL 5.5, in windows 2000. The plot is just fine in IDL 5.4 but
only plots very tiny graphs in the left upper corner of the
draw_widget in IDL 5.5. I can't figure out what is going on...
; set up device and color table --
set_plot,'WIN'
If !D.NAME EQ 'WIN' then begin
device,get_decomposed = currentDecomp
device,decomposed = currentDecomp
endif
loadct,39
; set up draw_widget
draw1 = Widget_Draw(Base_Ancillary, UNAME='draw1' ,XOFFSET=473 $
,YOFFSET=9 ,SCR_XSIZE=500 ,SCR_YSIZE=500)
;later on in the code I set the default plot to the draw1 widget
widget_control,draw1,get_value = temp
draw_index = temp[0]
wset,draw_index
;this is what my plot statement looks like...
!P.MULTI=[0,1,2]
plot,lon(0:icnt-1),lat(0:icnt-1),/ynoz
Mind you all of this works correctly in IDL 5.4... what's going on??
Cheers,
Lisa
|
|
|