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

Home » Public Forums » archive » Re: page orientation
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: page orientation [message #21158 is a reply to message #21154] Thu, 10 August 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Kyung Byun <kbyun@fas.harvard.edu> writes:

> Hi--
> I was wondering if anyone knew how to set the device (or plot) so
> as to relocate the origin of a landscaped .ps plot, or
> rotate the image some more? Specifically, I am using the following:
>
> SET_PLOT,'ps'
> DEVICE, /LANDSCAPE, filename=path+outFile+'.ps'
...
> DEVICE, /CLOSE
>
>
> ...and the result I get when I plop these .ps plots into a script that
> makes a web site with links to them is that the plots are upside
> down when viewed in Ghostview! I couldn't find a useful keyword for
> rotating images in either DEVICE or PLOT.

I have always experienced the "upside-down" landscape problem, and
have never figured out how to fix it within IDL. Unless you are in
the southern hemisphere? :-)

Solutions are:

* post-process the postscript. I use "xfig" under Unix every once in
a while to rotate PS figures. You could probably cobble something
together with sed or perl or something that does the same. I
beleive that there are just a few lines that need to be changed in
the postscript.

* do it in portrait mode. I think, with the right choice of XSIZE
and YSIZE, you can even have a graphic that is shaped like
landscape mode paper, but is actually done in portrait mode.

* if you are doing graphics for the web, why not do GIF anyway?

Yes David, the seascape menu item does work, but it would be better if
IDL just worked as well as 99.9% of the other software out there.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Draw widget mouse position error
Next Topic: Re: structures? pointers? Containers! (was: top10)

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

Current Time: Tue Oct 14 05:38:15 PDT 2025

Total time taken to generate the page: 1.52021 seconds