"gridPositions" not work correct with "Z" device? [message #76680] |
Thu, 23 June 2011 09:51  |
Dave[4]
Messages: 38 Registered: December 2007
|
Member |
|
|
Hi, David:
I use the "GridPositions" function with the following code. Why
every time I
call the "GridPositions", I got a different results and the plot
regions get smaller.
IDL> set_plot,'Z'
IDL> print,gridPositions(3, 3, XEXTENT=[0.01, 0.99],
YEXTENT=[0.08,0.92], XMARGIN=0.001, YMARGIN=0.001)
% Compiled module: GRIDPOSITIONS.
0.0100112 0.640017 0.317916 0.894992
0.336678 0.640017 0.644582 0.894992
0.663345 0.640017 0.971249 0.894992
0.0100112 0.360017 0.317916 0.614992
0.336678 0.360017 0.644582 0.614992
0.663345 0.360017 0.971249 0.614992
0.0100112 0.0800167 0.317916 0.334992
0.336678 0.0800167 0.644582 0.334992
0.663345 0.0800167 0.971249 0.334992
IDL> print,gridPositions(3, 3, XEXTENT=[0.01, 0.99],
YEXTENT=[0.08,0.92], XMARGIN=0.001, YMARGIN=0.001)
0.0100113 0.640019 0.317518 0.890182
0.336678 0.640019 0.644185 0.890182
0.663345 0.640019 0.970852 0.890182
0.0100113 0.360019 0.317518 0.610182
0.336678 0.360019 0.644185 0.610182
0.663345 0.360019 0.970852 0.610182
0.0100113 0.0800191 0.317518 0.330182
0.336678 0.0800191 0.644185 0.330182
0.663345 0.0800191 0.970852 0.330182
IDL> print,gridPositions(3, 3, XEXTENT=[0.01, 0.99],
YEXTENT=[0.08,0.92], XMARGIN=0.001, YMARGIN=0.001)
0.0100114 0.640022 0.317104 0.884386
0.336678 0.640022 0.643771 0.884386
0.663345 0.640022 0.970438 0.884386
0.0100114 0.360022 0.317104 0.604386
0.336678 0.360022 0.643771 0.604386
0.663345 0.360022 0.970438 0.604386
0.0100114 0.0800220 0.317104 0.324386
0.336678 0.0800220 0.643771 0.324386
0.663345 0.0800220 0.970438 0.324386
|
|
|