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

Home » Public Forums » archive » make mape
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: make mape [message #94724 is a reply to message #94722] Thu, 07 September 2017 04:46 Go to previous messageGo to previous message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 09/06/2017 08:32 PM, AGW wrote:
> I have 10000 values of h at specific 10000 values of x and y, every
> values stored in idlsave file, I want to combine all values of h
> at specific x,y in new array take this form
>
> hh=[x,y,h]
>
> where
>
> IDL> help,h
> h FLOAT = Array[1, 1, 56]
>
> IDL> help,x
> X INT = 200
>
> IDL> help,y
> Y INT = 230

I'm not sure I understand what you want, but maybe this is it:

sz=size(h,/dim)
hh=[replicate(x,sz),replicate(y,sz),h]

If not, please explain better what you want. Markus
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EP Flux
Next Topic: Error plotting polyline entities from a shapefile

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

Current Time: Wed Oct 08 09:22:00 PDT 2025

Total time taken to generate the page: 0.00425 seconds