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

Home » Public Forums » archive » Re: displaying things above the earth in a map projection
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: displaying things above the earth in a map projection [message #32305 is a reply to message #32220] Wed, 25 September 2002 20:16 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
John R. Iverson (jrivers@sandia.gov) writes:

> 1. it doesn't seem like this works while preserving the orthographic
> projection. Is there any way I can use the transformation set up by the
> map_set command to throw my data into space?

Well, let me just say this: I don't think the IDL
graphic system was built with this kind of thing
in mind. :-)

I don't know why certain may projections don't work,
nor do I know why there is all kinds of clipping going
on when you try to do an ISOTROPIC map projection. I
suspect there are bugs in the interaction between the
system variables set up by the map routines, and the
system variables relied on by the plotting routines.
All totally confused by trying to do all of this in
3D space.

> 2. I guess I just don't understand why this command doesn't do what I
> think it should? (draw a line from the map to the symbol you brought up
> earlier):
>
> plots, [45, 45], [45, 45], [0, 0.25], /t3d
>
> I really appreciate the help given to this IDL newbie!

I don't understand this one either. In fact, I had exactly
this line in my original example and couldn't figure out why
it didn't work. I know PLOTS can do this, because I was
staring at page 98 in my book where I used the PLOTS command
to do practically this very thing! As I had to go to a tennis
match, I just chalked it up to the "eternal mystery" and left
it off the example I posted, hoping no one would notice the
obvious line missing. Well, alas. :-(

For what it is worth, I notice that no line is drawn with
this code:

scale3, xrange=[-180, 180], yrange=[-90, 90], zrange=[0,1]
plots, [45, 45], [45, 45], [0, 0.25], /t3d
map_set, /cylindrical, /t3d, /grid, /continent, /NoErase
plots, 45, 45, 0.25, /t3d, psym=4, symsize=5.0

But it *is* drawn with this code:

erase
surface, xrange=[-180, 180], yrange=[-90, 90], zrange=[0,1], $
/Save, Dist(41), /NoData, XStyle=4, YStyle=4, ZStyle=5
plots, [45, 45], [45, 45], [0, 0.25], /t3d
map_set, /cylindrical, /t3d, /grid, /continent, /NoErase
plots, 45, 45, 0.25, /t3d, psym=4, symsize=5.0

I don't have the foggiest notion of what this means. It
seems to me *exactly* the same 3D space is being set
up in both cases, but obviously something is different.
I don't know what it might be.

Sorry I can't help. I can get you a free pass to the
IEPA Induction Dinner next month, if you are interested.
You won't learn anything about IDL there, either, but
it sure is interesting. :-)

Cheers,

David


--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: sec : U Re: travelling idl license
Next Topic: travelling idl license

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

Current Time: Fri Oct 10 12:44:12 PDT 2025

Total time taken to generate the page: 0.64419 seconds