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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: page orientation [message #21132] Fri, 11 August 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Martin Schultz (martin.schultz@dkrz.de) writes:

> I would vote for a development environment that is upside down, too.
> Since IDL is by far the most important application running on any
> computer in the world, it should be ok then to turn the monitor upside
> down. I am sure other software companies will soon follow so you will
> never have to turn your monitor again. And then, finally, hardware
> builders will catch up and deliver the monitors in upside down mode with
> the stand on top.

Now this is the kind of "outside-the-box" thinking
that distinguishes world-class IDL programmers!

Well done, Martin! :-)

Cheers,

David

P.S. I've passed your suggestion along to the folks
in Redmond, who I hear are thinking of acting on it
immediately.

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: page orientation [message #21135 is a reply to message #21132] Fri, 11 August 2000 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
David Fanning wrote:
>
> Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:
>
>> 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.
>
> You guys are so picky. Don't you think "seascape" has
> a more romantic connotation? Or is it just because I
> live in the mountains?
>
> Cheers,
>
> David
>

I would vote for a development environment that is upside down, too.
Since IDL is by far the most important application running on any
computer in the world, it should be ok then to turn the monitor upside
down. I am sure other software companies will soon follow so you will
never have to turn your monitor again. And then, finally, hardware
builders will catch up and deliver the monitors in upside down mode with
the stand on top.

Martin


--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
Re: page orientation [message #21154 is a reply to message #21132] Thu, 10 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:

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

I just thought of another reason why RSI should leave
this alone.

If the page was really rotated to landscape mode (as
opposed to seascape mode) then the Y offset, which
currently points in the -X direction, would be pointing...
let's see, in the positive X direction and the X offset
would have to be subtracted, let's see, from the short
page side. Or...do I have this backwards? :-(

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: page orientation [message #21156 is a reply to message #21154] Thu, 10 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:

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

You guys are so picky. Don't you think "seascape" has
a more romantic connotation? Or is it just because I
live in the mountains?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: page orientation [message #21158 is a reply to message #21154] Thu, 10 August 2000 00:00 Go 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
------------------------------------------------------------ --------------
Re: page orientation [message #21161 is a reply to message #21154] Thu, 10 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kyung Byun (kbyun@fas.harvard.edu) writes:

> 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? ... 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 think it would just be easier to set the Ghostview orientation
button to Seascape. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sat Oct 11 23:29:44 PDT 2025

Total time taken to generate the page: 1.28327 seconds