[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: contour plots on walls of a cube
- Subject: Re: contour plots on walls of a cube
- From: "Todd Bowers" <tbowers(at)nrlssc.navy.mil>
- Date: Thu, 11 Nov 1999 14:37:33 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Naval Research Laboratory, Washington, DC
- References: <382ACF8F.3F15583B@see.signature.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:17233
Sorry, this isn't the answer you want, but...
*ANYTHING* you want to do in 3D should (must?) be done
in object graphics. (I would have also underlined the word
"anything" if I could have). I learned this the hard way. Spend
the day or so getting the feel by perusing the IDL programming
tips and IDL Program Library at www.dfanning.com. I put objects
off for a while because I thought I'd be baby stepping my way
around for a week, but David's examples zip ya up to speed fast.
It's difficult to state how much more intuitive obj graphics is
than direct graphics. Now that I think about it, I'll revise my
statement, *All* graphics should be done with objects.
That reminds me, does anyone here know if IDL is "objectizing"
the map functions (e.g. map_continents)? I've got to incorporate
this soon, but now all my graphics are done in OG.
Good luck Eddie, learn and live object graphics.
eddie haskell <firstname.lastname@example.org> wrote in message
> Hello all,
> I have what feels like a simple problem but I haven't been able to tweak
> the right strings yet.
> I have a 3-D data set and am trying to visualise it by placing contour
> plots on the back three walls of a cube. The problem is that I can not
> get one of the contour plots to properly fill the wall without manually
> adjusting the position. In the example code that follows I always end
> up with an empty space down the left side of the plot on the back left
> wall. I can get it to fit by setting the x1 value in the contour call
> to 0.18 by hand but that just doesn't seem IDL-correct and I would have
> to manually determine new positions everytime I moved the cube on the
> Am I missing something obvious, is there a subtle trick that I either
> haven't learned or have displaced from memory, or is there a completely
> different way of doing what I want? Thanks for any and all suggestions.
----- ---- --- ---- --- --- --- --- -- -- -- - - - -