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

Home » Public Forums » archive » Plot difference
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: Plot difference [message #66347 is a reply to message #66246] Thu, 30 April 2009 14:24 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On Apr 27, 3:32 pm, Giorgio <giorgiol...@gmail.com> wrote:
> Hi,
>  From 10 measurements of a CCD camera with a size of (1293 x 840)
> points I calculate the mean and the standard deviation. I get
> different plots if I plot just the 2D data or if I rebin to make a 1D
> vector.
> Let's say that my 2D arrays for the mean is called average and the
> standard deviation is standard. Then the results are different if I
> do:
>
> plot, average, standard, psym = 4
>
> and
>
> plot, rebin(average, N_Elements(average)), rebin(standard, n_elements
> (standard)), psym = 4
>
> Any hint why is that?

I don't understand what the problem is.

a=randomn(seed,100000L) & print,total(abs(a-rebin(a,n_elements(a))))
shows that a and rebin(a,n_elements(a)) are identical (as they should
be).

Ciao,
Paolo


>
> Thanks,
>
> Giorgio
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: About ‘Widget_base’
Next Topic: slope_intercept

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

Current Time: Sun Oct 12 04:36:14 PDT 2025

Total time taken to generate the page: 0.56387 seconds