comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Plotting error in IDL 5.5
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Plotting error in IDL 5.5 [message #29650] Thu, 28 February 2002 13:26
redlmg98 is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to move shade_surface axes?
Next Topic: Mouse Wheel

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:47:39 PDT 2025

Total time taken to generate the page: 0.00475 seconds