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 #77434 is a reply to message #77382] Tue, 30 August 2011 08:57 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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!?

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Wed Oct 15 09:25:08 PDT 2025

Total time taken to generate the page: 9.27931 seconds