comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Postscript output
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Postscript output [message #7108] Wed, 02 October 1996 00:00 Go to previous message
Richard Townsend is currently offline  Richard Townsend
Messages: 1
Registered: October 1996
Junior Member
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 |
+-------------------------------------+--------------------+
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Postscript output device
Next Topic: re: Should IDL throw a warning in this case?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:01:36 PDT 2025

Total time taken to generate the page: 0.00367 seconds