Hello,
I am a complete beginner in IDL so please bear with me. I am trying to plot an ASCII file.
I do the following:
First I find the path of my file using:
C:\Program Files\ITT\IDL71\desktop\overnight.lvm
'overnight.lvm' is the ASCII file. I then create a plotting template:
plotTemplate = ASCII_TEMPLATE( )
and then:
plotAscii = READ_ASCII(FILEPATH('overnight.lvm', SUBDIRECTORY= $
['desktop']), TEMPLATE=plotTemplate)
My question is. How do I point to the file using the filepath I know from above. What is the syntax I have to use. I have tried all sorts of combinations but with no luck. The above gives an error.
Thanks,
Daniel
IDL> path=FILEPATH('overnight.lvm',SUBDIR=['desktop'])
IDL> print, path
|