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

Home » Public Forums » archive » Put a 2d plot and an image into a 3D coordinate system
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Put a 2d plot and an image into a 3D coordinate system [message #77433 is a reply to message #77382] Tue, 30 August 2011 09:26 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 8/30/11 9:57 AM, David Fanning wrote:
> Mark Piper writes:
>
>> I have a NG solution. Though it uses less code than OG, I had to think
>> about it a bit (NG are still much newer to me than OG). I also had to
>> rely on the undocumented TEXTUPDIR property to flip the labels on the Z
>> axis (thanks, CT!). Please give this a try:
>
> Are you sure it doesn't use IDL 8.2 syntax!?
>
> Here is what happens when I try to compile this
> code in IDL 8.1:
>
> IDL> .compile -v 'C:\Users\David\IDLWorkspace81\Default\junk.pro'
>
> phiaxis = axis('y', location=[max(p.xrange), 0.0, max(p.zrange)], $
> ^
> % Syntax error.
> At: C:\Users\David\IDLWorkspace81\Default\junk.pro, Line 21
>
> g = image(image, overplot=p, transparency=20)
> ^
> % Syntax error.
> At: C:\Users\David\IDLWorkspace81\Default\junk.pro, Line 27
> % 2 Compilation error(s) in module $MAIN$.
> IDL> print, file_which('axis.pro')
> % Compiled module: FILE_WHICH.
> C:\Program Files\ITT\IDL\IDL81\lib\graphics\axis.pro
> IDL> print, file_which('image.pro')
> C:\Program Files\ITT\IDL\IDL81\lib\graphics\image.pro
>
> Huh!?

Works for me. Have you set compile_opt strictarr?

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Put a 2d plot and an image into a 3D coordinate system
Next Topic: Re: Ghost Widgets!

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

Current Time: Sat Oct 11 14:30:19 PDT 2025

Total time taken to generate the page: 0.80673 seconds