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

Home » Public Forums » archive » Re: Plot difference
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Plot difference [message #66243] Mon, 27 April 2009 13:35
Giorgio is currently offline  Giorgio
Messages: 31
Registered: March 2008
Member
Thanks Jeremy, with reform the plots are the same. However, I do not
understand why with rebin the result is different. I suppose I should
read the manual carefully.


On Apr 27, 12:55 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
> 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?
>
>> Thanks,
>
>> Giorgio
>
> I think you mean reform instead of rebin.
>
> -Jeremy.
Re: Plot difference [message #66244 is a reply to message #66243] Mon, 27 April 2009 12:55 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
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?
>
> Thanks,
>
> Giorgio

I think you mean reform instead of rebin.

-Jeremy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: data arrangement
Next Topic: linear regression between two array with different number of emelemts

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

Current Time: Fri Oct 10 04:47:06 PDT 2025

Total time taken to generate the page: 0.64384 seconds