idl글 10건
2015.11.18 dashed-circle in idl
2015.11.06 postscript, landscape, pdf
2015.11.06 Improved image contrast with IDL (by David Fanning)
2015.04.11 what processes are running?
2015.04.10 setting remote X11
2015.04.10 kill the process
2015.04.05 background run
2014.11.08 idl in Yosemite
2014.08.26 expanding TeXtoIDL
2013.11.11 Suppress axes in IDL plots
dashed-circle in idl

points = (2 * !PI / 99.0) * FINDGEN(100)

for q = 0, 49, 2 do begin

    temp_points = points[q*2:(q+1)*2-1]

    x = hmin * COS(temp_points)

    y = hmin * SIN(temp_points)

    arr = TRANSPOSE([[x],[y]])

    plots, arr, /data

endfor

postscript, landscape, pdf

device,filename=filename,/color,xsize=24,ysize=18, /landscape


.

.

.


device,/close


cgFixPS, filename, /A4

cgps2pdf, filename


Improved image contrast with IDL (by David Fanning)

see this: http://www.idlcoyote.com/ip_tips/xstretch.php

what processes are running?

(to see what processes are running by 'robert')

$ ps -ef | grep robert

or

$ pgrep -l -u robert

setting remote X11

(.bashrc from the remote machine)

export DISPLAY=localhost:10.0

kill the process

(by using ppid) 

$ pkill -STOP -P ppid

background run

background run in idl8.2



$ nohup nice $IDL_DIR/bin/idl < ghost.pro > out.txt 2> log.txt &


'ghost.pro' has following contents only : 

.rn step2.pro

go

idl in Yosemite

host-iMac:~ host$ idl

dyld: Symbol not found: _inflateReset2

  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib

  Expected in: /Applications/itt/idl71/bin/bin.darwin.x86_64/libz.1.dylib

 in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib


remove libz.1.dylib from /Applications/itt/idl71/bin/bin.darwin.x86_64/


:)


expanding TeXtoIDL

         'leq': = '!9' + String("154B) + '!X'          'geq': = '!9' + String("142B) + '!X' 'neq': = '!9' + String("75B) + '!X' 'deg': = '!9' + String("45B) + '!X' '+-': = '!9' + String("53B) + '!X' 'equiv': = '!9' + String("72B) + '!X' 'prime': = '!9' + String("140B) + '!X' 'angstrom': = '!3' + String("305B) + '!X' 'sun': = '!D!9n!N!X' 'varphi': = '!9' + String("120B) + '!X' 'infinity': = '!9' + String("44B) + '!X' 'copyright': = '!3' + String("251B) + '!X' 'up': = '!U' 'down': = '!D' 'exp': = '!E' 'sub': = '!I' 'n': = '!N' 'div': = '!9' + String("57B) + '!X' 'times': = '!9' + String("130B) + '!X'


Suppress axes in IDL plots

Suppress axes in IDL plots


Some control of the axes in an IDL plot can be done through the [xyz]style keyword.


ValueDescription
1Force exact axis range (from data)
2Extend axis range
4Suppress entire axis. This will eliminate plotting the axes at all. Useful if you want to use the axis procedure later to fill in the axes.
8Draw axis only on one side.
16

Inhibit setting the Y axis minimum value to 0 (only works on y axis)


These keywords are bitwise so they can be added together to get a combination of effects.

NOTE: if you want to just suppress the text and tick marks in one of the axes:

plot, x, y, yticks = 1, ytickname = [' ', ' ']

This will set the plot to have only one major tick interval at the top and bottom of the axis and name them with a string with an empty space.


(copyright on "follow the sheep")

prev | 1 | next
Hello, stranger
note List Tags Media Guest Admin
powered by TISTORY designed by KHISM modified by kaysoh RSS T Y T
openclose