|
|
|
|
|
0 Replies and 1226 Views
ASCII Plot 1226 0
Started by Deleted User
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= $
&91'desktop'&93), TEMPLATE=plotTemplate)
My question is. How do I point to the file using the fil...
|
|
|
|
0 |
1226 |
03 Nov 2009 03:08 AM |
|
0 |
1285 |
21 Oct 2009 06:20 AM |
|
0 Replies and 1945 Views
How to resolve this error: Array has too many elements. 1945 0
Started by Deleted User
Hi,
&160;
I am an undergrad student at Millersville University in PA.&160; I am working on an research project and have run into an issue.&160; I am trying to make the following array: array = dblarr(36,240,20,150,99).&160; I get an error from IDL saying " Array has too many elements"
Any suggestions&160; Thank you!
&160;
Alex
|
|
|
|
0 |
1945 |
13 Oct 2009 01:46 PM |
|
2 Replies and 1261 Views
how to call a matlab file(.m) in IDL? 1261 2
Started by Deleted User
Dear all.
I need to call a matlab file (.m) from idl. I know IDL can host the MATLAB COM object. For example: oMatlab = obj_new('IDLcomIDispatch$ProgId$Matlab_application_6') ;test in IDL6.2 with Matlab6.5
But I don’t know how to pass variable value and return value between IDL and MATLAB, and how to execute a matlab file (.m) in IDL.
Furthermore, can you tell me how to use Call_external function call a matlab file (.m) in IDL.
Would you like to give me some example codes
Thanks for your h...
|
|
|
|
2 |
1261 |
11 Oct 2009 08:12 PM |
|
1 Replies and 1239 Views
segmentation fault using mouse 1239 1
Started by Deleted User
hi,
I have an old idl code running on vesion 5.6 (rt license). I installed this version on my new Dell 64 bits
Ubunt 9.04 with ATI Radeon HD 4350 card. I got segmentaion fault every time I use mouse to manipulate
the display window. There is one thread suggesting that moving the gl_driver.so&160; from the directory
(not using it al all).&160; I&160; do not know if this will solve my problem. Any sugeesttion is greatly appreciated.
Please do not suggest that I upgrade to latest IDL ve...
|
|
|
|
1 |
1239 |
11 Oct 2009 10:01 AM |
|
1 Replies and 888 Views
IDLgrPolygon fill 888 1
Started by Deleted User
Hi,
If the vertices of a polygon are as follows.
x = indgen(12)
y = &915, 5, 6, 7, 8, 9, 8, 7, 6, 8,5, 4&93
thisPoly = Obj_New('IDLgrPolygon', x, y, Color=&91255,0,255&93)
thisPoly->SetProperty, STYLE=1
with Style=1 the polygon is created properly as expected.. whereas if Style=2 (i.e when filled), the filling is performed over the outer vertices. And hence these two do not look similar.. Is there any option to make the polygon fill by considering vertices as such and not by out...
|
|
|
|
1 |
888 |
08 Oct 2009 10:10 AM |
|
0 Replies and 1209 Views
Need a reversed X axis in object graphics 1209 0
Started by Deleted User
Greetings:
I need an x axis with positive values to the left. In procedural graphics, this is easy: &91 plot,&911,2,3&93,xrange=&9110,-10&93 &93.
With object graphics, if I don't use exact=1, then it reverses the range, putting positive to the right. If I use exact=1, the axis labels are mirror imaged and I have not yet found a way to scale the plot object to put the data in the view.
This is with idl 7.1.
Thanks...
|
|
|
|
0 |
1209 |
06 Oct 2009 11:14 AM |
|
1 Replies and 1048 Views
IDL Starting 1048 1
Started by Deleted User
Dear all
I am a new, (yes very new) student, attempting to learn how to Programming in IDL (I tried these on IDL Version 6.3).
When I coded a simple program to get information from Keyboard, the code is exactly below:
PRO GetInfor
&160;&160; ; do nothing
&160;&160; ;myArray
END
FUNCTION GetInput, myArray, nElements
myArray=MAKE_ARRAY(nElements,/INTEGER ,value=0)
FOR i=0, nElements DO BEGIN
&160;READ, myArray&91i&93
ENDFOR
T = myArray
RETURN, T
END
When I...
|
|
|
|
1 |
1048 |
05 Oct 2009 06:41 PM |
|
1 Replies and 1182 Views
IDL Starting 1182 1
Started by Deleted User
Dear all
I am a new, (yes very new) student, attempting to learn how to Programming in IDL (I tried these on IDL Version 6.3).
When I coded a simple program to get information from Keyboard, the code is exactly below:
PRO GetInfor
&160;&160; ; do nothing
&160;&160; ;myArray
END
FUNCTION GetInput, myArray, nElements
myArray=MAKE_ARRAY(nElements,/INTEGER ,value=0)
FOR i=0, nElements DO BEGIN
&160;READ, myArray&91i&93
ENDFOR
T = myArray
RETURN, T
END
When I...
|
|
|
|
1 |
1182 |
05 Oct 2009 06:40 PM |
|
1 Replies and 1100 Views
Export Bridge 1100 1
Started by Deleted User
I am trying to export my IDL code as a COM object using the Eaxport Bridge Assistant.&160; I've been getting the error that:&160; devenv compiler must be in the path.
I saw a previous thread on this issue (http://www.ittvis.com/UserCommunity/UserForums/tabid/58/forumid/27/threadid/8391/scope/posts/Default.aspx), where the solution was to use the Visual Studio Command Prompt to run IDL.&160; My problem with this solution is that I have been unsuccessful in my (many) attempts to install Visual...
|
|
|
|
1 |
1100 |
30 Sep 2009 02:26 PM |
|
0 Replies and 1160 Views
IDL shortcuts (hot keys) and SCIM on linux 1160 0
Started by Deleted User
Hello!
A year ago I had some problem with IDL on my Ubuntu Linux box (it was 8.04):
All shortcuts (hot keys) in my widget program ceased to work. After a week of investigations I found that the reason was the new SCIM manager (Smart Common Input Method) introduced in Ubuntu by default. The problem was fixed by disabling all functions in SCIM.
After my last update of Ubuntu (to 9.04) the problem came out again. But now it can't be solved with SCIM configurations.
Does anyone have this pro...
|
|
|
|
0 |
1160 |
24 Sep 2009 09:22 AM |
|
1 Replies and 1502 Views
problem using idl libraries 1502 1
Started by Deleted User
Hi...I have some .mxhi (merged extracted high dispersion) files which i have downloaded from IUE site. Now in order to retrieve data i need to convert them into .fits format. I thought of using idl for that. Now there is a function readmx in idl which does that, which is available in idl libraries. Now, this readmx calls various functions...one of them is keygen.pro. I am able to read the .mx files but while writing them to a .fits file the problem arises.
In&160; keygen.pro code, somewhere !I...
|
|
|
|
1 |
1502 |
22 Sep 2009 02:56 AM |
|
1 |
1138 |
18 Sep 2009 08:34 PM |
|
1 Replies and 1162 Views
Readu, Writeu only 32-bit on 64-bit system 1162 1
Started by Deleted User
Hello everyone,
I have created rather large 3-D binary arrays in IDL that I save as unformatted data using writeu. When the number of elements contained in the volume gets to be around 2,300,000,000 if I attempt to writeu or readu the volume, I am kicked out of IDL with a segmentation fault. I don't think it's a memory issue, I'm running 64-bit IDL on a 64-bit linux running redhat enterprise with 12 GB of ram, and I can save arrays that have larger file sizes as long as they have a smaller...
|
|
|
|
1 |
1162 |
11 Sep 2009 01:30 PM |
|
2 Replies and 927 Views
idl7.1 idlde cannot work !! 927 2
Started by Deleted User
I was installed the idl7.1 on fedora 11,idlde cannot work, but idl is work on command line. The ldd lib* in bin.linux.x86 is
libcairo-swt.so:
&160;&160;&160; linux-gate.so.1 =>&160; (0x00b0e000)
&160;&160;&160; libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00e46000)
&160;&160;&160; libX11.so.6 => /usr/lib/libX11.so.6 (0x00110000)
&160;&160;&160; libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0023f000)
&160;&160;&160; libfreetype.so.6 => /usr/lib/libfreetype...
|
|
|
|
2 |
927 |
11 Sep 2009 06:47 AM |
|
1 Replies and 1472 Views
Second IDL window under Linux with the same license 1472 1
Started by Deleted User
Dear all,
I am using the floating license of my institute under Linux. Currently there is only one license available (if one is working another has to wait). I need to run a simple script, however currently it will take 28 days to complete it.. So, I would like to take advantage of the empty cpu's waiting in the system.
But, I do not know if parallel processing is possible under idl. Even if so, I do not know how to write mine.. So, I wish to run the same script under 6-8 windows to get the re...
|
|
|
|
1 |
1472 |
05 Sep 2009 01:43 PM |
|
0 Replies and 1052 Views
unexpected validation error 1052 0
Started by Deleted User
I am pretty new to this,
try to run a application in runtime mode, but I am getting ' unexpected validation error'&160;
I downloaded a trial version of IDL 7.1 so I can get the library, I thought using VM is free, is this a license issue&160;
this is what is in my license.dat file,
RSI_PRODUCT_NAME:IDL Runtime 7.1
RSI_FEATURE_NAME:eval_idlrt
RSI_PRODUCT_VERSION:7.100
PACKAGE eval_idlrt idl_lmgrd 7.100 046C68719F40 \
&160;&160;&160; COMPONENTS...
|
|
|
|
0 |
1052 |
03 Sep 2009 07:36 AM |
|
3 Replies and 1568 Views
idlde not working 1568 3
Started by Deleted User
hi,
I just installed idl 7.06 on my Fedora Core 10. I also installed JRE 1.5.0_11 and do everything as TT4468 said. But there are still some problem.
Now when I open idlde it gives me a box saying "An error has occurred. See the log file
/home/jacob/IDLWorkspace/.metadata/.log. "
I opened the .log file ans it saying:
!SESSION 2009-09-01 22:52:42.652 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_11
java...
|
|
|
|
3 |
1568 |
02 Sep 2009 08:55 AM |
|
1 Replies and 1318 Views
use ENVIIDL together 1318 1
Started by Deleted User
Hi everyone,
I have written a code in IDL which interacts with ENVI. The code works fine on a Windows system but I need to run it on an Linux system.
Is there a possibility on Linux to start ENVIIDL together like in the Windows system with the "envi_idl.exe" file Until now, with the Linux system, I can only start ENVI and IDL seperately which means that they can't interact together.
I hope that someone can quickly answer to this question:
Cheers,
Nicolas
|
|
|
|
1 |
1318 |
26 Aug 2009 09:44 AM |
|
3 Replies and 1254 Views
WIDGET_SLIDER drag events not generated in 7.1 (WinXP) 1254 3
Started by Deleted User
I have recently switched to IDL7.1 from 7.0, and have a problem using WIDGET_SLIDER. Although DRAG is set for widget, drag events are not generated.
The same code worked for 7.0. Has there been a change to the way the events are handled, and should I change the way they are used
The test program below runs as expected in 7.0, but not in 7.1
PRO testslider_event, ev
common sliders, slider
widget_control, slider, GET_VALUE=value
print, value
END
...
|
|
|
|
3 |
1254 |
26 Aug 2009 08:03 AM |
|