Re: % error opening file [message #91206 is a reply to message #91198] |
Wed, 17 June 2015 06:42  |
kpaapu123
Messages: 2 Registered: June 2015
|
Junior Member |
|
|
On Tuesday, June 16, 2015 at 6:22:29 PM UTC+5, Shaktivel Pillai wrote:
> On Monday, June 15, 2015 at 9:38:38 PM UTC+5, Mike Galloy wrote:
>> On 6/15/15 8:26 AM, Shaktivel Pillai wrote:
>>> On Monday, June 15, 2015 at 6:51:47 PM UTC+5, Michael Galloy wrote:
>>>> On 6/15/15 6:57 AM, Shaktivel Pillai wrote:
>>>> > i am using idl and i am totally new,but want to learn IDL as soon
>>>> > as possible. I have written this script file on gedit in IDL.
>>>> >
>>>> > n=10 x=1.0+findgen(n) y=ALOG10(x) plot,x,y
>>>> >
>>>> >
>>>> > and saved this file as log_plot.pro
>>>> >
>>>> > but when i try to execute the script file from idl command promt
>>>> > by writting @log_plot
>>>> >
>>>> > i am getting this message error opening file
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > please some one help me out in this
>>>> >
>>>>
>>>> Works for me.
>>>>
>>>> Are you in the same directory as log_plot.pro? Are you using the
>>>> Workbench or the command line?
>>>>
>>>> Mike -- Michael Galloy www.michaelgalloy.com Modern IDL: A Guide to
>>>> IDL Programming (http://modernidl.idldev.com)
>>>
>>> hiee Michael.... thanks a lot to the lord that i found a guide like
>>> you whom i was searching for..... I am actually a Summer Research
>>> Student AT Indian Institute of Technology BHU....... and i am
>>> actually working on detection of sunspots from the continnum images
>>> obtained from SDO for now... I have actually noted down the algorithm
>>> for it but from past ten days im figuring out on how to procede in
>>> IDL syntax; as in how to write the programme in IDL... Can you please
>>> guide me out a bit,as in just a start up on how to get start with and
>>> then I would get the way to do the remaining in the list... Please do
>>> help me out as I need to finish up with this soon so that I could
>>> really work with my actual Problem .....
>>>
>>>
>>>
>>>
>>> I am sending the link below...Please a humble request to you
>>> Michael...Please help me out in this........
>>>
>>
>> I would suggest getting a good book if you are starting out. There are a
>> lot of issues when starting to learn a programming language and it would
>> get tedious to ask and have to wait for an answer here. This is a great
>> forum to ask people very specific question.
>>
>> So, did you get log_plot.pro to run?
>>
>> Mike
>> --
>> Michael Galloy
>> www.michaelgalloy.com
>> Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
>
> finally i got it sir thanks a lot
sir
i have opened a jpeg image in idl using
tv,image,true=1
now i want to crop only the central region of the sun where sunspots are present.... for these i used the cursor command and placed it in low left and right---got the co-ordinates----and then placed the cursor at right top--got the x and y......then i used image=image[low x:topx,lowy:topy]
but im not getting the image croped....instead getting
% subscript range values of the form low:high must be >=0,<size,with low<=high:image
please help me in this
|
|
|