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
Re: Postscript output [message #7185 is a reply to message #7108] Sat, 05 October 1996 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Richard Townsend <rhdt@star.ucl.ac.uk> writes:

> 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:
>
> 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

> 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?

I am not sure how to get rid of the jaggies with the routine MAP_PATCH.
But if you can use the MAP_IMAGE routine instead, you can increase the
smoothness of the edges by setting the COMPRESS keyword equal to 1.
This will solve the inverse map transformation for each pixel in the
output image and will improve the result dramatically for PostScript
output.

David

--
David Fanning, Ph.D.
Phone: 970-221-0438
Fax: 970-221-4728
E-Mail: davidf@fortnet.org
[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: Sat Oct 11 20:05:32 PDT 2025

Total time taken to generate the page: 0.40299 seconds