X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 14 Dec 2010 09:01 PM by  anon
8.0 Plot function (.sav & vm)
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
14 Dec 2010 09:01 PM
    I compile and run the code everything works. I create a .sav and everything else works, but the plot function opens up a window thats all black (can still see the menu buttons, but the entire plot area is black). It appears that I can still select a plot, set a different color etc, but the window remains all black ie. I can't see anything. Again only happens when running the .sav in the vm... in the de it works np. Anyone encounter something like this? Anything in particular? Is there anything I need to do (apart from resolve_all/save)? Also: this happens in windows, worked ok in linux.

    Deleted User



    New Member


    Posts:
    New Member


    --
    19 Jan 2011 10:47 AM
    When compiling a VM app that uses the 8.0 Graphics system, you'll need to use IRESOLVE to resolve those routines. Try this: pro mypro !null = plot(/test) end IDL> .compile mypro IDL> iresolve IDL> resolve_all IDL>save, /routines, filename='mypro.sav' Give that a try and your VM app should work. -Josh ITTVIS
    You are not authorized to post a reply.