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 #43672 is a reply to message #43669] Tue, 19 April 2005 07:51 Go to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
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: Mon Oct 27 03:04:27 PDT 2025

Total time taken to generate the page: 0.02668 seconds