I have a problem with postscript output that I'm hoping someone will be
able to help me with. I have some IDL arrays of dimension N x N which are
latitude/longitude maps of some function (a spherical harmonic) over the
surface of a sphere. I want to display these maps wrapped over the sphere
in an orthographic projection. The commands I am using are something of
the form:
set_plot,'ps'
device,/encapsulated,bits_per_pixel=8,xsize=5,ysize=5,/inche s
!p.multi=[0,2,2]
map_set,/orthographic,/noborder,/advance,/isotropic,45,0
mapped=map_patch(bytscl(array1),xstart=x0,ystart=y0, $
xsize=xs,ysize=ys,missing=255)
tv,k,x0,y0,xsize=xs,ysize=ys
map_grid,color=255
map_set,/orthographic,/noborder,/advance,/isotropic,45,0
mapped=map_patch(bytscl(array2),xstart=x0,ystart=y0, $
xsize=xs,ysize=ys,missing=255)
tv,mapped,x0,y0,xsize=xs,ysize=ys
map_grid,color=255
map_set,/orthographic,/noborder,/advance,/isotropic,45,0
mapped=map_patch(bytscl(array3),xstart=x0,ystart=y0, $
xsize=xs,ysize=ys,missing=255)
tv,mapped,x0,y0,xsize=xs,ysize=ys
map_grid,color=255
map_set,/orthographic,/noborder,/advance,/isotropic,45,0
mapped=map_patch(bytscl(array4),xstart=x0,ystart=y0, $
xsize=xs,ysize=ys,missing=255)
tv,mapped,x0,y0,xsize=xs,ysize=ys
map_grid,color=255
device,/close
...where array1-array4 are the data arrays (as you can see, I want to
plot four separate arrays). My problem is that the boundaries of the
globes which I plot are very jagged, and increasing the size N of the
arrays does not cure this. How can I increase the postscript resolution
and get rid of the jagged edges?
Thanks in advance,
Rich
+-------------------------------------+--------------------+
| Richard Townsend | |
| Department of Physics & Astrononmy | "Old pond, |
| University College London | frog jumps in - |
| Gower Street | plop" |
| London WC1E 6BT | |
| (0171) 419 3410 | Basho |
+-------------------------------------+--------------------+
|