Re: 3D plot of set of curves [message #39533 is a reply to message #39481] |
Tue, 25 May 2004 12:46   |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
Timm Weitkamp wrote:
> On 24.05.04 at 17:33 -0600, David Fanning wrote:
>
>
>> Timm Weitkamp writes:
>>
>>
>>> I have a set of curves -- say, the values are in a 2D array "Z" -- and
>>> would like to make a nice-looking graph something like this hand-drawn
>>> sketch:
>>>
>>> http://tinyurl.com/36frg
>>>
>>> [...]
>
>
>> Is there a built-in IDL routine to do it? I don't
>> think so. I've never seen one. Can I imagine writing such
>> a routine? Yes. I'd definitely do it in object graphics,
>> because the 3D part of it will be much easier, and you
>> will be able to rotate it, which will make it easier for
>> the user to see different parts of it.
>
>
> It finally turned out not to be so hard, yet without any object graphics.
> The T3D mechanism provides enough rotation functionality for my purposes.
>
> Below is the code I am now using. Poorly documented, unreliable, no
> _EXTRAs, etc. But it does what I want. And there is an example at the end,
> for whoever may want to look at it :-)
Oh my! Well done. That's a direct graphics tool that's going into my /user_contrib
directory. (I have a crontab script to purge any object graphics code that may
inadvertantly sneak in ..... :o)
paulv
|
|
|