Color Scheme
Find People
Username
Password
Sign Up
old site http://222.195.74.11/
ÖÐÎÄ°æ Location: Homepage >> Xiangrong Fu : CV - Publications - Blog

Research

Poster:

1. IDL tips
MARGIN and OMARGIN
--
When you are plotting more than one picture on a page, the graphics keyword MARGIN and OMARGIN are very useful to control the space between rows and columns and the margin of the whole page, separately. For example:
!P.Multi=[0,2,3]
!X.MARGIN=[8,5]
!Y.MARGIN=[3,2]
!X.OMARGIN=[3,3]
!Y.OMARGIN=[3,3]
plot,x,y,xmargin=[8,5],ymargin=[3,2]
The unit is the character size.These keywords affect IDL's calculation of POSITION for each plot. And they have default values.
Xiangrong Fu
Posted at 2006-12-30 10:37 CST
Last modified at 2006-12-30 10:51 CST
Link to this poster
Top

2. Re: IDL tips
COLOR TABLES
--
Predefined color tables is convenient for plotting colorful figures. IDL has a lot.For example:

loadct,13

loads a rainbow type color table with 256 colors. 13 means the 13th color table. loadct with no parameter will show all tables. If only a few colors are needed, command like this:

loadct, 13, ncolors=10

will select 10 out of 256 with equal span.
Xiangrong Fu
Posted at 2006-12-30 10:46 CST
Last modified at 2006-12-30 10:49 CST
Link to this poster
Top


Locations | Statistics | FAQ
Best view under the 1024x768 resolution and with the normal size of fonts.
Designed & developed by Yuming Wang, run for 6364 days since December 15, 2006, and last upgraded on May 28th, 2009.
Powered by Apache + PHP coded cOpfOs 3.11.1 last upgraded on February 22nd, 2010.
Copyright © 2006, all rights reserved.