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

Home » Public Forums » archive » Re: A whine about default device settings
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: A whine about default device settings [message #58639 is a reply to message #58636] Sun, 10 February 2008 19:18 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.221901b29e38c3ae9896b2@news.frii.com>,
David Fanning <news@dfanning.com> wrote:

> Kenneth P. Bowman writes:
>
>> Unfortunately, some of the default device settings are different between
>> the Z-buffer device and the X-Windows device. (I haven't checked the
>> WIN device because I don't have a Windows machine).
>
> Yes, this is a LONG standing problem. I think I first ran into this
> problem nearly 20 years ago. :-(
>
> Cheers,
>
> David

I ran into another similar issue later

IDL> help, !d, /str
** Structure !DEVICE, 17 tags, length=84, data length=84:
NAME STRING 'X'
X_PX_CM FLOAT 40.0000
Y_PX_CM FLOAT 40.0000

IDL> help, !d, /str
** Structure !DEVICE, 17 tags, length=84, data length=84:
NAME STRING 'Z'
X_PX_CM FLOAT 26.0000
Y_PX_CM FLOAT 26.0000

The pixels-per-centimeter parameters are read-only and cannot be set by
the user. Why that is the case for a virtual device that has no
physical size is beyond me.

This artificial difference in "resolution" means that you have to adjust
the SCALE factor on MAP_SET to make maps match when switching devices.
(I try to avoid using SCALE, but for some projections it is the best way
to make a map work right.)

Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to find continuous regions
Next Topic: IDLWAVE tab completion error

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

Current Time: Fri Oct 10 16:35:12 PDT 2025

Total time taken to generate the page: 1.28064 seconds