|
|
|
|
|
2 Replies and 1780 Views
TrueType font rendering quality 1780 2
Started by Deleted User
I run IDL on Mac and Linux. Occasionally I need to to do pixel-for-pixel plotting of image data. X-windows works for this, and I can use hardware (bitmapped) fonts. I can do this in batch mode (that is, without a display) using Xfvb; but that has some issues of its own (related to X-Windows, not IDL). So the obvious solution is to use the Z-buffer instead of Xvfb. The downside is that the rendering quality of TrueType fonts, at least on MacOS and Linux, is terrible. I can send small ex...
|
|
|
|
2 |
1780 |
by Deleted User 23 Mar 2020 01:59 PM |
|
1 Replies and 1401 Views
Object Graphics Display in foreground 1401 1
Started by Deleted User
I am using IDL on Linux Fedora 23. Whenever I try to draw a Graphics Object Display, the IDLgrView object (i.e. the canvas containing the plot/image or whatever...) appears in the foreground of my display and does not go away. If I minimize the window, the window (along with the toolbar) will effectively minimize, but the canvas will remain. If I drag another window towards it, the said window will be under the canvas. The only way to get rid of it is to close the window altogether. This happ...
|
|
|
|
1 |
1401 |
by Ben Castellani 20 Mar 2020 04:00 PM |
|
0 Replies and 1643 Views
IMAGE LIMITS: strange behaviour with /nodata 1643 0
Started by Deleted User
/nodata keyword in mapped image seems to impair the effect of LIMIT = &91;y1,x1,y2,x2&93;: --- imj = IMAGE(prepdat, lon,lat, limit = limits , $ label_show = 0, RGB_TABLE = new_rgb, grid_units = 2, Map_Projection = 'equirectangular') -- will respect the limits. However, --- imj = IMAGE(prepdat, lon,lat, limit = limits , $ label_show = 0, RGB_TABLE = new_rgb, grid_units = 2, Map_Projection = 'equirectangular', /nodata) --- produces a map image that is reduced in size, wit...
|
|
|
|
0 |
1643 |
10 Mar 2020 11:59 AM |
|
1 Replies and 1262 Views
Visualization of data stored in array on a map 1262 1
Started by Deleted User
Recently I got some gridded data to visualize on a map. However, I found that the array storing the gridded data cannot be shown normally on the map. The first column and bottom row are ignored when plotted on the map. I wrote a demo to show the problem. ;This is a test code; data=&91;&91;1,15,48,1&93;,&91;45,34,38,34&93;,&91;78,1,25,13&93;,&91;34,21,36,57&93;&93; ;Plot the map; m = MAP('Geographic',limit=&91;0,-10,20,10&93;) m.mapgrid.LABEL_POSITION = 0 ...
|
|
|
|
1 |
1262 |
by Ben Castellani 02 Mar 2020 03:02 PM |
|
8 Replies and 8773 Views
IDL 8.7 Mac OS X client corruption 8773 8
Started by Deleted User
I have IDL installed on a handful of computers running Mac OS X High Sierra. I installed the 8.7 version of IDL on about six of these machines. One installation showed the error below about a day after the install, and another one about two weeks after the install. In both cases the error was present for all users of the machine. Rebooting did not help the problem. I uninstalled and then reinstalled IDL 8.7, and it has worked since. I was hoping to get a better understanding of what may be causi...
|
|
|
|
8 |
8773 |
by Deleted User 11 Feb 2020 09:22 PM |
|
6 Replies and 4449 Views
Resampling with MNF bands 4449 6
Started by Deleted User
Hello everyone, I have an issue regarding the IDL of ENVI. I apply MNF to spectra in order to resample my spectral library and then to insert those data to the environment of IDL. The error that occurs after the procedure of IDL refers to: Import spectra: an error has occurred during processing error variable is undefined: Y. The result may be invalid. I don't know how to solve it because it relates to the y-axis for which it doesn't recognize the variable. Any suggestion Thank you very m...
|
|
|
|
6 |
4449 |
by Deleted User 28 Jan 2020 09:59 AM |
|
1 Replies and 1945 Views
How to create a multi-line text widget? 1945 1
Started by Deleted User
I try to use the following code to create a text widget with multi-line text:
WID_TEXT = Widget_Text(WID_BASE, SET_VALUE=&91'Line 1', 'Line 2', 'Line 3'&93
But it turned out to display 'Line 1Line 2Line 3' instead of
Line 1
Line 2
Line 3
The IDL version is 6.2
Thank you!
|
|
|
|
1 |
1945 |
by Deleted User 27 Jan 2020 11:40 AM |
|
1 Replies and 1349 Views
Discrepancy in calculation of ATAN 1349 1
Started by Deleted User
Hello! I found that when I use the ATAN function and input two arguments that I get a different result than if I first divide the arguments, and then calculate ATAN. i.e: theta = ATAN(num, den)/4 = -0.54489 num = -2.48664 den = -1.7322 VS angle = (-2.48664)/(-1.7322) = 1.43454 theta = ATAN (angle)/4 = 0.24051 This angle is being used in a varimax rotation, and with a different result for theta, the resultant rotation is not correct. Please clarify what is happening here...
|
|
|
|
1 |
1349 |
by Ben Castellani 20 Dec 2019 03:53 PM |
|
0 Replies and 1912 Views
Manually trigger widget events 1912 0
Started by Deleted User
What I'd like to do with widgets seems simple, but I don't think it is possible due to the single-threaded nature of widgets. I have a normal IDL program running -- let's say it is reading images from disk and displaying them. I would like to use a widget to display the images so that I can take advantage of mouse click events. So, the top level program creates a draw widget, starts reading images and passes them to the widget using UVALUE. For each image, I'd like to manually trigger the ...
|
|
|
|
0 |
1912 |
16 Dec 2019 12:41 PM |
|
1 Replies and 2287 Views
IDL VM (IDL 8,5) on Ubuntu 18 2287 1
Started by Deleted User
Hello - has anyone encountered an issue where : idl -vm ends up with an error message stating : idl:error while loading shared librarieds: libXp.so.6: cannot open shared object file: no such file or directory I cannot find such libraries to install - if anyone can direct me to the right source, it would be greatly appreciated! Thanks, Jason
|
|
|
|
1 |
2287 |
by MariM 10 Dec 2019 02:25 PM |
|
2 Replies and 1403 Views
Spectral Feature Fitting Function / PyIDL Bridge 1403 2
Started by Deleted User
Hi all, I have not been able to find any documentation on the harris site referring to a callable spectral feature fitting (SFF) function. I am hoping to obtain a score between two spectra much like in spectral analyst, using SFF. Does IDL have this functionality and will this function be callable in Python-IDL bridge Any help is much appreciated. Kind regards, Alex
|
|
|
|
2 |
1403 |
by Deleted User 02 Dec 2019 01:58 PM |
|
0 Replies and 2116 Views
IDL widget with C 2116 0
Started by Deleted User
I am running Windows 10 with IDL 7.1. I am using an IDL widget in a windows forms C project. I have an IDL script 'pedAnalyze' which takes 3 arrays as input as follow 'PRO pedAnalyze, xyeizz, Kon, PedSlope, PWF'. This is the Initialization in C code: { IDLDrawWidget2.IdlPath = Lines&91;0&93;; IDLDrawWidget2.DrawWidgetName = 'DWidget_Name'; n = IDLDrawWidget2.InitIDL(this.Handle.ToInt32()); if (n == 0) { ...
|
|
|
|
0 |
2116 |
13 Nov 2019 12:55 PM |
|
2 Replies and 1620 Views
INtel UHD 620 graphics card and idl 1620 2
Started by Deleted User
Hi, I'm using a Lenvo Carbon X1 notebook (6th generation) with an Intel UHD 620 graphics board and idl 8.4. When I try plotting data using the plot function the graphics window goes black (until white as it should) and the graphics look completely wrong (black background with blurry white lines). Funnily, when I save the grapics as png and import them e.g. into powerpoint they look like they should. I only encopunter these problems with idl. I have already deinstalled the graphics board a...
|
|
|
|
2 |
1620 |
by Deleted User 04 Nov 2019 05:53 AM |
|
0 Replies and 2659 Views
[solution workaround] IDL 8.7.2 under Ubuntu 19.10 crashed with some Java/ Eclipse error 2659 0
Started by Deleted User
Under Ubuntu 19.10 (Mate), IDL 8.7.2. crashed with this interesting error: A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007ff255a9e601, pid=32237, tid=0x00007ff276830700 JRE version: OpenJDK Runtime Environment (Zulu 8.34.0.1-CA-linux64) (8.0_201-b10) (build 1.8.0_201-b10) Java VM: OpenJDK 64-Bit Server VM (25.201-b10 mixed mode linux-amd64 compressed oops) Problematic frame: C &91;libgobject-2.0.so.00x39601&93; g_type_...
|
|
|
|
0 |
2659 |
21 Oct 2019 07:42 AM |
|
1 Replies and 5252 Views
IDL 8.7.2: Created .SAV does not run on another computer with VM 5252 1
Started by Deleted User
I was following IDL documentation describing how to run binary IDL progrtams on another machine with IDL VM. Coppied program code, followed every step, created .sav file. This file runs on licensed development machine without problems. As current version of IDL does not have separate VM install I did as I was said: installed full IDL 8.7.2 on the second machine (W7Pro x64). With no license, of course. The .sav file when run starts the VM (I can see the VM splash screen). After clicking 'Conti...
|
|
|
|
1 |
5252 |
by MariM 09 Oct 2019 12:32 PM |
|
1 Replies and 1830 Views
Unable to run idlde, no output 1830 1
Started by Deleted User
I have recently installed ENVI 5.3 and IDL 8.5 using the installation disk on my Ubuntu 19.04. Running idl on my terminal works fine. However, running idlde on the terminal does not open the editor, neither is there any error output to the command. Please advice how do I troubleshoot and resolve the issue
|
|
|
|
1 |
1830 |
by Ben Castellani 19 Sep 2019 11:19 AM |
|
1 Replies and 1908 Views
SPAWN Function 1908 1
Started by Deleted User
I am trying to call a MATLAB .exe from IDL and pass it inputs. I thought maybe the SPAWN command is what I should use but I cant seem to pass in any variables to the .exe. Is this not a thing How can you run a matlab program from IDL Dave
|
|
|
|
1 |
1908 |
by Ben Castellani 16 Sep 2019 03:09 PM |
|
1 Replies and 1871 Views
IDL 8.7.2 runs slow after Windows update 1871 1
Started by Deleted User
Woindows 10 version 10.0.17134.984 Windows update KB4512509, KB4486153, KB4506989 After these updates, the IDL starts very slow. Even the license manager was slow. Everything else on the machine is normal. This only happened on one of many machines we have here. Anyone else have this issue
|
|
|
|
1 |
1871 |
by Deleted User 12 Sep 2019 08:33 AM |
|
3 Replies and 1957 Views
Call IDL in perl 1957 3
Started by Deleted User
Hi All, I am trying to call IDL program through perl as following: open(IDL,'|/opt/harris/envi5.4.0/envi54/idl86/bin/idl')|| die 'Can't open IDL: $!'; print IDL '.Compile classify \n'; print IDL 'classify \n'; close(IDL); This code works well when there is no ENVI library function in IDL program, but does not work when there is a ENVI function (like ENVITASK) in IDL program. The error shows: Variable is undefined: ENVITASK. Could you please tell me how to fix this problem wh...
|
|
|
|
3 |
1957 |
by Deleted User 13 Aug 2019 02:16 PM |
|
2 Replies and 1627 Views
Plot 3d data on map projection with continents 1627 2
Started by Deleted User
Is there any way to plot 3D data on a map projection with continents. If I set up a map and use the PLOT() function to plot a line, the line appears: m = MAP( 'Equirectangular' ) c = MAPCONTINENTS() p = PLOT( &91;-180, 180&93;, &91;-90, 90&93;, /OVERPLOT ) However, if I try to plot a 3D line over the map, the line does not appear m = MAP( 'Equirectangular' ) c = MAPCONTINENTS() p = PLOT3D( &91;-180, 180&93;, &91;-90, 90&93;, &91;0, 10&93;, /OVERPLOT ) If I don't call MA...
|
|
|
|
2 |
1627 |
by Deleted User 26 Jul 2019 10:28 AM |