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

Home » Public Forums » archive » Re: how to draw three-dimension graph using IDL
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: how to draw three-dimension graph using IDL [message #43652 is a reply to message #43641] Tue, 19 April 2005 12:23 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
... or for even more fun, as your last command, use this:

iSurface, sin(xx)*sin(yy),xx,yy

or

iSurface, sin(xx)*sin(yy),xx,yy, /Isotropic
(for isotropic or equally-scaled X, Y and Z axes)

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392

"Paolo Grigis" <pgrigis@astro.phys.ethz.ch> wrote in message
news:42651ae7$1@news1.ethz.ch...
> for a surface, you could try:
>
> x=4*!pi*findgen(101)/100
> y=4*!pi*findgen(101)/100
>
> xx=rebin(x,n_elements(x),n_elements(y))
> yy=rebin(transpose(y),n_elements(x),n_elements(y))
>
> shade_surf,sin(xx)*sin(yy),xx,yy
>
> --Paolo
>
> lixiaoyao wrote:
>> hello all
>> for example,how to draw z=sin(x)*sin(y)
>> also,if you have a three column file,and how draw three dimension
>> graph from the data.
>> Thanks a lot
>>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to get the data from the contour line?
Next Topic: Inverse CWT

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

Current Time: Sat Oct 11 14:39:56 PDT 2025

Total time taken to generate the page: 0.40003 seconds