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

Home » Public Forums » archive » Re: How I can access the convolve data?
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: How I can access the convolve data? [message #69791] Fri, 12 February 2010 04:47
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Feb 12, 12:55 am, Maarten <maarten.sn...@knmi.nl> wrote:
> On Feb 11, 7:04 pm, greg <greg.a...@googlemail.com> wrote:
>
>
>
>
>
>> On 11 Feb., 18:43, Paolo <pgri...@gmail.com> wrote:
>>> On Feb 11, 12:15 pm, Maarten <maarten.sn...@knmi.nl> wrote:
>>>> On Feb 11, 3:13 pm, Dave_Poreh <d.po...@gmail.com> wrote:
>>>> > I have a question. I am doing a convolution for smoothing some data.
>>>> > When I pass data to the PLOT, it  works but when I want to get Y data
>>>> > it is not working and I got error.
>>>> > plot, X, convol(y,....)
>>>> > Now I have a X-Y plot and I want to take convolved Y.
>
>>>> It seems you don't have a lot of programming experience.
>>>> Store the convolved data in a variable before plotting.
>
>>>> y_convolve = convol(y,....)
>>>> plot, x, y_convolve
>
>>> Hi Maarten,
>
>>> I am not sure if I understand your suggestion.
>>> Why do you think there's a difference between plotting
>>> a variable and an expression?
>
>>> plot,x,sqrt(x) works fine
>
> Oh, it works, but if you want access to the y-values in a plot, it is
> usually easier to just save the values first, instead of plotting
> directly.
>
>> I'd speculate that Maarten was guessing that Dave had intended to ask
>> how to get the y-values from the plot :)
>
> Yes, indeed. But I still have to agree with the first reply that a
> clearer question usually generates better answers.
>
> Best,
>
> Maarten

Sorry guys
Because I put the CONVOL in a loop, that problem happened. Now I fixed
it. Thanks again
Cheers
Re: How I can access the convolve data? [message #69793 is a reply to message #69791] Fri, 12 February 2010 00:55 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Feb 11, 7:04 pm, greg <greg.a...@googlemail.com> wrote:
> On 11 Feb., 18:43, Paolo <pgri...@gmail.com> wrote:
>> On Feb 11, 12:15 pm, Maarten <maarten.sn...@knmi.nl> wrote:
>>> On Feb 11, 3:13 pm, Dave_Poreh <d.po...@gmail.com> wrote:
>>>> I have a question. I am doing a convolution for smoothing some data.
>>>> When I pass data to the PLOT, it works but when I want to get Y data
>>>> it is not working and I got error.
>>>> plot, X, convol(y,....)
>>>> Now I have a X-Y plot and I want to take convolved Y.
>>>
>>> It seems you don't have a lot of programming experience.
>>> Store the convolved data in a variable before plotting.
>>>
>>> y_convolve = convol(y,....)
>>> plot, x, y_convolve
>>
>> Hi Maarten,
>>
>> I am not sure if I understand your suggestion.
>> Why do you think there's a difference between plotting
>> a variable and an expression?
>>
>> plot,x,sqrt(x) works fine

Oh, it works, but if you want access to the y-values in a plot, it is
usually easier to just save the values first, instead of plotting
directly.

> I'd speculate that Maarten was guessing that Dave had intended to ask
> how to get the y-values from the plot :)

Yes, indeed. But I still have to agree with the first reply that a
clearer question usually generates better answers.

Best,

Maarten
Re: How I can access the convolve data? [message #69804 is a reply to message #69793] Thu, 11 February 2010 10:04 Go to previous message
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
On 11 Feb., 18:43, Paolo <pgri...@gmail.com> wrote:
> On Feb 11, 12:15 pm, Maarten <maarten.sn...@knmi.nl> wrote:
>
>> On Feb 11, 3:13 pm, Dave_Poreh <d.po...@gmail.com> wrote:
>
>>> I have a question. I am doing a convolution for smoothing some data.
>>> When I pass data to the PLOT, it  works but when I want to get Y data
>>> it is not working and I got error.
>>> plot, X, convol(y,....)
>>> Now I have a X-Y plot and I want to take convolved Y.
>
>> It seems you don't have a lot of programming experience.
>> Store the convolved data in a variable before plotting.
>
>> y_convolve = convol(y,....)
>> plot, x, y_convolve
>
> Hi Maarten,
>
> I am not sure if I understand your suggestion.
> Why do you think there's a difference between plotting
> a variable and an expression?
>
> plot,x,sqrt(x) works fine
>
> Ciao,
> Paolo
>
>
>
>> Maarten
>
>

I'd speculate that Maarten was guessing that Dave had intended to ask
how to get the y-values from the plot :)

Greg
Re: How I can access the convolve data? [message #69805 is a reply to message #69804] Thu, 11 February 2010 09:43 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On Feb 11, 12:15 pm, Maarten <maarten.sn...@knmi.nl> wrote:
> On Feb 11, 3:13 pm, Dave_Poreh <d.po...@gmail.com> wrote:
>
>> I have a question. I am doing a convolution for smoothing some data.
>> When I pass data to the PLOT, it  works but when I want to get Y data
>> it is not working and I got error.
>> plot, X, convol(y,....)
>> Now I have a X-Y plot and I want to take convolved Y.
>
> It seems you don't have a lot of programming experience.
> Store the convolved data in a variable before plotting.
>
> y_convolve = convol(y,....)
> plot, x, y_convolve

Hi Maarten,

I am not sure if I understand your suggestion.
Why do you think there's a difference between plotting
a variable and an expression?

plot,x,sqrt(x) works fine

Ciao,
Paolo

>
> Maarten
Re: How I can access the convolve data? [message #69807 is a reply to message #69805] Thu, 11 February 2010 09:15 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Feb 11, 3:13 pm, Dave_Poreh <d.po...@gmail.com> wrote:

> I have a question. I am doing a convolution for smoothing some data.
> When I pass data to the PLOT, it works but when I want to get Y data
> it is not working and I got error.
> plot, X, convol(y,....)
> Now I have a X-Y plot and I want to take convolved Y.

It seems you don't have a lot of programming experience.
Store the convolved data in a variable before plotting.

y_convolve = convol(y,....)
plot, x, y_convolve

Maarten
Re: How I can access the convolve data? [message #69810 is a reply to message #69807] Thu, 11 February 2010 06:35 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Hi Dave,

pardon me to be a bit rude, but your question is not very useful
for us (granted - some people in this newsgroup can read minds
- but most of us do not).

I suggest you read this document and ask again:
http://catb.org/~esr/faqs/smart-questions.html

Thanks,
Paolo

On Feb 11, 9:13 am, Dave_Poreh <d.po...@gmail.com> wrote:
> Folks
> I have a question. I am doing a convolution for smoothing some data.
> When I pass data to the PLOT, it  works but when I want to get Y data
> it is not working and I got error.
> plot, X, convol(y,....)
> Now I have a X-Y plot and I want to take convolved Y.
>
> Any help highly appreciated
> Cheers
> Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Image Warp Success?
Next Topic: For-loop vs. Dimensional Juggling relative performance

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

Current Time: Wed Oct 08 13:43:33 PDT 2025

Total time taken to generate the page: 0.00677 seconds