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

Home » Public Forums » archive » Re: how to combine two data into one data?
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 combine two data into one data? [message #43660 is a reply to message #43658] Tue, 19 April 2005 09:18 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1113919698.898482.283570@o13g2000cwo.googlegroups.com>,
"lixiaoyao" <lixiaoyao5880@yahoo.com> wrote:

> for example
> x=10*!pi*findgen(1001)/1000
> y=10*!pi*findgen(1001)/1000
> how to let z a two dimension vector compose if x and y.
> Thanks

I think you want something like this:

xx = x#REPLICATE(1.0, 1001)
yy = REPLICATE(1.0, 1001)#y

z = xx*yy
SURFACE, Z

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to stop erase graph?
Next Topic: 3D rendering of a 3D binary structure

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

Current Time: Sun Oct 12 03:53:07 PDT 2025

Total time taken to generate the page: 1.28135 seconds